diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-05-26 23:23:47 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-05-27 01:07:30 +0200 |
commit | 3406c7234ac15b6a2fc52afa770fb851da25c215 (patch) | |
tree | a772480ea9d1d01f038ea4f7704630831ca35541 /src/modules/m_ojoin.cpp | |
parent | 9bb24d3f458274b7485554bc95f1274900a69ec2 (diff) |
Simplify user mode removal via ModeHandler::RemoveMode()
The function does not need to be virtual because the core can remove any user mode using the default logic
The optional modestack parameter was always NULL, so remove it
Diffstat (limited to 'src/modules/m_ojoin.cpp')
-rw-r--r-- | src/modules/m_ojoin.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/m_ojoin.cpp b/src/modules/m_ojoin.cpp index 5b6335580..ff92f3fae 100644 --- a/src/modules/m_ojoin.cpp +++ b/src/modules/m_ojoin.cpp @@ -117,10 +117,6 @@ class NetworkPrefix : public ModeHandler return NETWORK_VALUE; } - void RemoveMode(User* user, irc::modestacker* stack) - { - } - ModResult AccessCheck(User* source, Channel* channel, std::string ¶meter, bool adding) { User* theuser = ServerInstance->FindNick(parameter); |