diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-01-21 00:44:41 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-01-21 00:44:41 +0100 |
commit | e1d0503a760bc6f43804e2212d997d6bee22cfa2 (patch) | |
tree | 902f5cde9f850a987b8296f98ff2be4a8d5e7789 | |
parent | d0a472641b7c77fe5f40a6affb62de67be2ee888 (diff) |
m_joinflood Unset the mode on unload
-rw-r--r-- | src/modules/m_joinflood.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp index 4524a93c0..63bcc38a4 100644 --- a/src/modules/m_joinflood.cpp +++ b/src/modules/m_joinflood.cpp @@ -169,8 +169,7 @@ class JoinFlood : public ModeHandler } else { - joinfloodsettings* f = ext.get(channel); - if (f) + if (channel->IsModeSet('j')) { ext.unset(channel); channel->SetModeParam('j', ""); |