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