diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_chanhistory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_chanhistory.cpp b/src/modules/m_chanhistory.cpp index caa3c1e8b..cfc418cb0 100644 --- a/src/modules/m_chanhistory.cpp +++ b/src/modules/m_chanhistory.cpp @@ -59,6 +59,8 @@ class HistoryMode : public ModeHandler } else { + if (!channel->IsModeSet('H')) + return MODEACTION_DENY; ext.unset(channel); channel->SetModeParam('H', ""); } |