aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--root_commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/root_commands.c b/root_commands.c
index 68561a17..d90531eb 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -556,6 +556,7 @@ static void cmd_add( irc_t *irc, char **cmd )
if( g_strcasecmp( cmd[1], "-tmp" ) == 0 )
{
+ MIN_ARGS( 3 );
add_on_server = 0;
cmd ++;
}