mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
m_delaymsg Don't allow mode to be unset when it's not set
This commit is contained in:
parent
c71942c2ee
commit
2c234e7f81
@ -76,6 +76,9 @@ ModeAction DelayMsgMode::OnModeChange(User* source, User* dest, Channel* channel
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!channel->IsModeSet('d'))
|
||||
return MODEACTION_DENY;
|
||||
|
||||
/*
|
||||
* Clean up metadata
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user