summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorshackspace e.V <shack@shack.(none)>2010-05-07 04:22:49 +0200
committershackspace e.V <shack@shack.(none)>2010-05-07 04:22:49 +0200
commitf77ad7ef9f1ebb63716a754315e878aabe2eee62 (patch)
tree1db81dc62888b04662675abb91db8cc32170b7af /modules
parent29e111bd9921c3730c751a059e449af765d551a4 (diff)
added additional check for default_command
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/names1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/names b/modules/names
index 750917a5..f5922064 100755
--- a/modules/names
+++ b/modules/names
@@ -5,6 +5,7 @@ case "$1" in
(*)
cd /tmp/noise
. $NOISE_pid/environment
+ if test "$default_command" != chat ; then exit ; fi
nick="${chat_nick-$NOISE_pid}"
channel="${1-$chat_channel}"
echo "Users in channel $channel"