X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules%2FNeonServ.mod%2Fcmd_neonserv_invitemeall.c;h=c7d33409840235c53206c94a64c024297fbdd672;hb=caa3238cc43909d4d3a27ff95b77f9ab23f85baf;hp=9f5b56da67c60cc3ceb9b4475554a01bf3222a82;hpb=b1513885643cadcc6beec1cf47b960fa891b468b;p=NeonServV5.git diff --git a/src/modules/NeonServ.mod/cmd_neonserv_invitemeall.c b/src/modules/NeonServ.mod/cmd_neonserv_invitemeall.c index 9f5b56d..c7d3340 100644 --- a/src/modules/NeonServ.mod/cmd_neonserv_invitemeall.c +++ b/src/modules/NeonServ.mod/cmd_neonserv_invitemeall.c @@ -31,7 +31,7 @@ CMD_BIND(neonserv_cmd_invitemeall) { struct ClientSocket *bot; while((chanuserrow = mysql_fetch_row(res)) != NULL) { int userflags = atoi(chanuserrow[1]); - if(!(userflags & DB_CHANUSER_AUTOINVITE)) continue; + if(!(argc && !stricmp(argv[0], "all")) && !(userflags & DB_CHANUSER_AUTOINVITE)) continue; if(!(chan = getChanByName(chanuserrow[2]))) continue; //no bot is in the channel if((bchanuser = getChanUser(client->user, chan)) && (bchanuser->flags & CHANUSERFLAG_OPPED)) bot = client;