execute mysql_check only if a query fails.
[NeonServV5.git] / cmd_neonserv_kickban.c
index c338652f6fc69db8556b2f7d3448aa35c03c6e68..ae59941246c06f0f826d9203bfc7288b8ebdd3fe 100644 (file)
@@ -46,7 +46,6 @@ static void neonserv_cmd_kickban_async1(struct ClientSocket *client, struct Clie
     struct ChanUser *chanuser;
     char usermask[NICKLEN+USERLEN+HOSTLEN+3];
     nextnick = nicks;
-    check_mysql();
     while((nick = nextnick)) {
         nextnick = strstr(nick, ",");
         if(nextnick) {