aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-10-12 01:08:58 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2007-10-12 01:08:58 +0100
commiteda54e40d04c83028d84e91c895a550c1929b436 (patch)
tree878f985af2ab5d2b9c59e8c955448bc4e9ddec17 /root_commands.c
parent82135c7178b6379f35741991f6c06bb308143194 (diff)
parentd444c09e6c7ac6fc3c1686af0e63c09805d8cd00 (diff)
Merge from devel.
Diffstat (limited to 'root_commands.c')
-rw-r--r--root_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/root_commands.c b/root_commands.c
index 0f9f776c..e8c796d3 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -382,7 +382,7 @@ static void cmd_account( irc_t *irc, char **cmd )
return;
}
- if( cmd[3] )
+ if( cmd[3] && set_name )
{
set_t *s = set_find( &a->set, set_name );