Fix a bug where we were not sending a channel mode change
This commit is contained in:
parent
fd8a9aafe7
commit
3be4710c32
|
@ -1083,8 +1083,8 @@ Lforeach:
|
|||
case 's':
|
||||
case 't':
|
||||
bool success;
|
||||
if(add) channel.setMode(mode);
|
||||
else channel.unsetMode(mode);
|
||||
if(add) success = channel.setMode(mode);
|
||||
else success = channel.unsetMode(mode);
|
||||
if(success)
|
||||
{
|
||||
processedModes ~= mode;
|
||||
|
|
Loading…
Reference in New Issue