summaryrefslogtreecommitdiffstats
path: root/Reaktor
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
commitf8ef365a496e751f5c73d1fa7ca8bc9fa7e7cb25 (patch)
treed26486453d97bd5e6634fc030c54082db00db6aa /Reaktor
parentc6cb7e67121f7e08530d4ecbb1d70d6adc1bb18a (diff)
Reaktor: fix issue with tell_on-privmsg, bump version
Diffstat (limited to 'Reaktor')
-rw-r--r--Reaktor/reaktor/__init__.py2
-rwxr-xr-xReaktor/reaktor/commands/tell-on_privmsg4
2 files changed, 3 insertions, 3 deletions
diff --git a/Reaktor/reaktor/__init__.py b/Reaktor/reaktor/__init__.py
index 10b8539a..0d03ee78 100644
--- a/Reaktor/reaktor/__init__.py
+++ b/Reaktor/reaktor/__init__.py
@@ -1 +1 @@
-__version__="0.5.0"
+__version__="0.5.1"
diff --git a/Reaktor/reaktor/commands/tell-on_privmsg b/Reaktor/reaktor/commands/tell-on_privmsg
index 5d0aff41..73163faa 100755
--- a/Reaktor/reaktor/commands/tell-on_privmsg
+++ b/Reaktor/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