From f77ad7ef9f1ebb63716a754315e878aabe2eee62 Mon Sep 17 00:00:00 2001 From: "shackspace e.V" Date: Fri, 7 May 2010 04:22:49 +0200 Subject: added additional check for default_command --- modules/names | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') 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" -- cgit v1.2.3