aboutsummaryrefslogtreecommitdiffstats
path: root/reaktor/commands
diff options
context:
space:
mode:
Diffstat (limited to 'reaktor/commands')
-rwxr-xr-xreaktor/commands/tell-on_privmsg4
1 files changed, 2 insertions, 2 deletions
diff --git a/reaktor/commands/tell-on_privmsg b/reaktor/commands/tell-on_privmsg
index 5d0aff4..73163fa 100755
--- a/reaktor/commands/tell-on_privmsg
+++ b/reaktor/commands/tell-on_privmsg
@@ -7,8 +7,8 @@ if test "${FLOCK-}" != "$state_file"; then
fi
from="$_prefix"
-to="$1"; shift
-msg="$*"
+to=${1%% *}
+msg=${1#* }
date=$(date)
# TODO tell now, if already joined