diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-07-20 15:05:42 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-07-20 15:05:42 +0200 |
commit | bc51c8e4da14f405d6d6220a4453a58ebde580c6 (patch) | |
tree | 4e04533a373f05ed12d30ca87ad5ddb94fb4b7f2 | |
parent | 3d0fa60ba524ce1af8056f86a126aa506f97261b (diff) |
m_spanningtree Remove the MAP ISUPPORT token
No other servers send this token and sending it has little to no benefit
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 5 | ||||
-rw-r--r-- | src/modules/m_spanningtree/main.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 8a1aed08f..a17fb203c 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -421,11 +421,6 @@ ModResult ModuleSpanningTree::HandleConnect(const std::vector<std::string>& para return MOD_RES_DENY; } -void ModuleSpanningTree::On005Numeric(std::map<std::string, std::string>& tokens) -{ - tokens["MAP"]; -} - void ModuleSpanningTree::OnUserInvite(User* source,User* dest,Channel* channel, time_t expiry) { if (IS_LOCAL(source)) diff --git a/src/modules/m_spanningtree/main.h b/src/modules/m_spanningtree/main.h index b49cecb0c..f25370b93 100644 --- a/src/modules/m_spanningtree/main.h +++ b/src/modules/m_spanningtree/main.h @@ -172,7 +172,6 @@ class ModuleSpanningTree : public Module void OnLoadModule(Module* mod) CXX11_OVERRIDE; void OnUnloadModule(Module* mod) CXX11_OVERRIDE; ModResult OnAcceptConnection(int newsock, ListenSocket* from, irc::sockets::sockaddrs* client, irc::sockets::sockaddrs* server) CXX11_OVERRIDE; - void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE; CullResult cull(); ~ModuleSpanningTree(); Version GetVersion() CXX11_OVERRIDE; |