forked from lesderid/salty-ircd
Clear invite holders when setting +i (non-strict)
This commit is contained in:
parent
7a8b28f0f4
commit
66175b4168
|
@ -224,7 +224,13 @@ class Channel
|
||||||
|
|
||||||
modes ~= mode;
|
modes ~= mode;
|
||||||
|
|
||||||
//TODO: If RFC-strictness is off, clear the invite list when +i is set
|
version (BasicFixes)
|
||||||
|
{
|
||||||
|
if (mode == 'i')
|
||||||
|
{
|
||||||
|
inviteHolders = [];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue