summaryrefslogtreecommitdiff
path: root/localkannel-dispatch
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-07-09 13:27:15 +0200
committerJonas Smedegaard <dr@jones.dk>2010-07-09 13:27:15 +0200
commit31deb77082a45e8ca2c39d2a089509137194538d (patch)
treec484f5ace79c61d9c6e6dfb69284c5a59ea5701b /localkannel-dispatch
parent9b56fa9fe501731f1e6a1e6fd72012e0b6b02901 (diff)
Fix another issue of /go command to resolve realcmd properly in localkannel-dispatch.
Diffstat (limited to 'localkannel-dispatch')
-rwxr-xr-xlocalkannel-dispatch2
1 files changed, 1 insertions, 1 deletions
diff --git a/localkannel-dispatch b/localkannel-dispatch
index 2ec7863..4bbae96 100755
--- a/localkannel-dispatch
+++ b/localkannel-dispatch
@@ -214,7 +214,7 @@ Send \"[$cmd] MSG...\" to ${realcmd}test subscribers."
[ -n "$1" ] || exit1 "phone number missing (try \"/$cmd help\" for usage)"
[ -n "$2" ] || exit1 "message missing (try \"/$cmd help\" for usage)"
targetphone="$(echo "$1" | perl -pe 's/^@//;' -e 's/^([^+])/+39\1/')"; shift
- case "$1" in
+ case "$cmd" in
gotest|sotest)
info1phone="+393453915741" # Jonas
info2phone="+393453805531" # Jacob