aboutsummaryrefslogtreecommitdiffstats
path: root/reaktor/commands/tell-on_privmsg
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-02-17 18:12:34 +0100
committertv <tv@krebsco.de>2019-02-17 18:12:34 +0100
commitb47d6414e0f55f0589f641c4c0703063831074c6 (patch)
tree689f6d0cb4b7365808243cc35ea0f6e6f886da42 /reaktor/commands/tell-on_privmsg
parent74fdc5a9b14f9ae248133784d106da8cc18686fd (diff)
tell-on_privmsg: fix text extractionHEADv0.7.1master
Diffstat (limited to 'reaktor/commands/tell-on_privmsg')
-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"