aboutsummaryrefslogtreecommitdiffstats
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
commitcc32bb1e832b6cac2163aa1ed96d742190c2c283 (patch)
tree54ac7f2165b7295bc9cf5a5664fa92901b3840fa
parent07a3625f6582f9152c0944efd70376bf711493e6 (diff)
Reaktor: fix issue with tell_on-privmsg, bump version
-rw-r--r--reaktor/__init__.py2
-rwxr-xr-xreaktor/commands/tell-on_privmsg4
2 files changed, 3 insertions, 3 deletions
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