summaryrefslogtreecommitdiffstats
path: root/Reaktor/reaktor/commands/tell-on_privmsg
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-11-08 14:03:30 +0100
committermakefu <github@syntax-fehler.de>2015-11-08 14:03:30 +0100
commitf8ef365a496e751f5c73d1fa7ca8bc9fa7e7cb25 (patch)
treed26486453d97bd5e6634fc030c54082db00db6aa /Reaktor/reaktor/commands/tell-on_privmsg
parentc6cb7e67121f7e08530d4ecbb1d70d6adc1bb18a (diff)
Reaktor: fix issue with tell_on-privmsg, bump version
Diffstat (limited to 'Reaktor/reaktor/commands/tell-on_privmsg')
-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