summaryrefslogtreecommitdiffstats
path: root/Reaktor/reaktor/commands
diff options
context:
space:
mode:
Diffstat (limited to 'Reaktor/reaktor/commands')
-rwxr-xr-xReaktor/reaktor/commands/tell-on_privmsg4
1 files changed, 2 insertions, 2 deletions
diff --git a/Reaktor/reaktor/commands/tell-on_privmsg b/Reaktor/reaktor/commands/tell-on_privmsg
index 5d0aff41..73163faa 100755
--- a/Reaktor/reaktor/commands/tell-on_privmsg
+++ b/Reaktor/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