From cc32bb1e832b6cac2163aa1ed96d742190c2c283 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 8 Nov 2015 14:03:30 +0100 Subject: Reaktor: fix issue with tell_on-privmsg, bump version --- reaktor/__init__.py | 2 +- reaktor/commands/tell-on_privmsg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'reaktor') diff --git a/reaktor/__init__.py b/reaktor/__init__.py index 10b8539..0d03ee7 100644 --- a/reaktor/__init__.py +++ b/reaktor/__init__.py @@ -1 +1 @@ -__version__="0.5.0" +__version__="0.5.1" diff --git a/reaktor/commands/tell-on_privmsg b/reaktor/commands/tell-on_privmsg index 5d0aff4..73163fa 100755 --- a/reaktor/commands/tell-on_privmsg +++ b/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 -- cgit v1.2.3