From b47d6414e0f55f0589f641c4c0703063831074c6 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 17 Feb 2019 18:12:34 +0100 Subject: tell-on_privmsg: fix text extraction --- reaktor/commands/tell-on_privmsg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reaktor/commands/tell-on_privmsg') 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" -- cgit v1.2.3