summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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