aboutsummaryrefslogtreecommitdiffstats
path: root/reaktor/commands
diff options
context:
space:
mode:
Diffstat (limited to 'reaktor/commands')
-rwxr-xr-xreaktor/commands/tell-on_privmsg2
1 files changed, 1 insertions, 1 deletions
diff --git a/reaktor/commands/tell-on_privmsg b/reaktor/commands/tell-on_privmsg
index 9206d8c..fc05bde 100755
--- a/reaktor/commands/tell-on_privmsg
+++ b/reaktor/commands/tell-on_privmsg
@@ -10,7 +10,7 @@ fi
jq -cn \
--arg from "$_from" \
--arg to "${1%% *}" \
- --arg text "${1##* }" \
+ --arg text "${1#* }" \
--arg msgtarget "$_msgtarget" \
'{ $from, $to, $text, $msgtarget, date: (now | todate) }' \
>> "$state_file"