free(hostmask);
case BADACTION_KICK:
- KickChannelUser(user, chan, watchdog, reason);
+ if(GetUserMode(chan, user))
+ KickChannelUser(user, chan, watchdog, reason);
break;
case BADACTION_KILL:
DelUser(user, watchdog, 1, reason);
} else {
devnull[0] = 0;
}
- /* // currently disabled because of a ircu incompatibility
+ /*
if(!HANDLE_FLAGGED(hi, AUTOHIDE)) {
sprintf(tmp,"%s LA %s 0 %s\n",argv[3],hi->handle,devnull);
- } else
- */
+ } else */
if(getfakehost(argv[4])) {
sprintf(tmp,"%s LA %s %s %s\n",argv[3],hi->handle,getfakehost(argv[4]),devnull);
} else {