Clear invite holders when setting +i (non-strict)

This commit is contained in:
Les De Ridder 2020-10-14 05:58:55 +02:00
parent 7a8b28f0f4
commit 66175b4168
1 changed files with 7 additions and 1 deletions

View File

@ -224,7 +224,13 @@ class Channel
modes ~= mode;
//TODO: If RFC-strictness is off, clear the invite list when +i is set
version (BasicFixes)
{
if (mode == 'i')
{
inviteHolders = [];
}
}
return true;
}