Remove duplicate end-of-stats replies for /stats iauth and /stats iauthconf.
[ircu2.10.12-pk.git] / ircd / s_auth.c
index 2aeef4ba5323517180531f1d290a986df07d9384..68e85ae965e2bbdffbb03f5674e3a12a3b3e26e4 100644 (file)
@@ -1917,7 +1917,7 @@ static int iauth_cmd_usermode(struct IAuth *iauth, struct Client *cli,
 {
   if (params[0][0] == '+')
   {
-    set_user_mode(cli, cli, parc + 2, params - 2);
+    set_user_mode(cli, cli, parc + 2, params - 2, ALLOWMODES_ANY);
   }
   return 0;
 }
@@ -2201,7 +2201,6 @@ void report_iauth_conf(struct Client *cptr, const struct StatDesc *sd, char *par
         send_reply(cptr, SND_EXPLICIT | RPL_STATSDEBUG, ":%s",
                    link->value.cp);
     }
-    send_reply(cptr, SND_EXPLICIT | RPL_STATSDEBUG, ":End of IAuth configuration.");
 }
 
 /** Report active iauth's statistics to \a cptr.
@@ -2218,5 +2217,4 @@ void report_iauth_conf(struct Client *cptr, const struct StatDesc *sd, char *par
         send_reply(cptr, SND_EXPLICIT | RPL_STATSDEBUG, ":%s",
                    link->value.cp);
     }
-    send_reply(cptr, SND_EXPLICIT | RPL_STATSDEBUG, ":End of IAuth statistics.");
 }