changeset 497:cbbf502e4a70

Fix /ignore command.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 27 May 2012 13:28:51 +0300
parents 012f106bf290
children b6f6c989deab
files main.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main.c	Sun May 27 11:46:41 2012 +0300
+++ b/main.c	Sun May 27 13:28:51 2012 +0300
@@ -942,7 +942,7 @@
     { "/close",    CMDARG_OPTIONAL, 0, nncmd_close_query },
     { "/win",      CMDARG_OPTIONAL, 0, nncmd_window_info },
 
-    { "/ignore",   CMDARG_NICK,     0, nncmd_ignore },
+    { "/ignore",   CMDARG_OPTIONAL, 0, nncmd_ignore },
     { "/color",    CMDARG_STRING,   0, nncmd_set_color },
     { "/save",     CMDARG_NONE,     0, nncmd_save_config },
 };