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