fixed cmd_oauthlog (set NICKSERV_MIN_PARMS to 2)
authorpk910 <philipp@zoelle1.de>
Sat, 11 Feb 2012 11:24:20 +0000 (12:24 +0100)
committerpk910 <philipp@zoelle1.de>
Sat, 11 Feb 2012 11:24:20 +0000 (12:24 +0100)
src/nickserv.c

index f521c6a980d109460c5fee54f7282b8d4b843803..d98c369c4530ffc21f00d6688bb855a927419489 100644 (file)
@@ -2042,7 +2042,7 @@ static MODCMD_FUNC(cmd_authlog)
 static MODCMD_FUNC(cmd_oauthlog) {
     struct handle_info *hi;
     
-    NICKSERV_MIN_PARMS(1);
+    NICKSERV_MIN_PARMS(2);
     
     if (!(hi = get_victim_oper(user, argv[1])))
         return 0;