mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 17:53:14 +02:00
fixed some +K bugs
This commit is contained in:
@@ -612,3 +612,5 @@
|
||||
- Fixed a wierd NOTICE bug
|
||||
- Modified and fixed the NOTICE bug totally, with some waste of the nospoof
|
||||
system
|
||||
- Fixed a bug where +K could be set when +i was not (reported by rapta)
|
||||
- Made it so if you set -i on a channel that is +K it sets -iK
|
||||
|
||||
@@ -1598,11 +1598,15 @@ int do_mode_char(chptr, modetype, modechar, param, what, cptr, pcount, pvar,
|
||||
case MODE_TOPICLIMIT:
|
||||
case MODE_NOPRIVMSGS:
|
||||
case MODE_INVITEONLY:
|
||||
if (what == MODE_DEL && modetype == MODE_INVITEONLY && (chptr->mode.mode & MODE_NOKNOCK))
|
||||
chptr->mode.mode &= ~MODE_NOKNOCK;
|
||||
case MODE_RGSTRONLY:
|
||||
case MODE_NOCOLOR:
|
||||
case MODE_NOKICKS:
|
||||
case MODE_STRIP:
|
||||
case MODE_NOKNOCK:
|
||||
if (what == MODE_ADD && modetype == MODE_NOKNOCK && !(chptr->mode.mode & MODE_INVITEONLY))
|
||||
break;
|
||||
#ifdef STRIPBADWORDS
|
||||
case MODE_STRIPBADWORDS:
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user