diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 2 | ||||
-rw-r--r-- | src/snomasks.cpp | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index ad7203177..3a020f342 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1735,9 +1735,11 @@ class TreeSocket : public InspSocket for (std::string::iterator v = params[5].begin(); v != params[5].end(); v++) _new->modes[(*v)-65] = 1; +#ifdef SUPPORT_IP6LINKS if (params[6].find_first_of(":") != std::string::npos) _new->SetSockAddr(AF_INET6, params[6].c_str(), 0); else +#endif _new->SetSockAddr(AF_INET, params[6].c_str(), 0); this->Instance->WriteOpers("*** Client connecting at %s: %s!%s@%s [%s]",_new->server,_new->nick,_new->ident,_new->host, _new->GetIPString()); diff --git a/src/snomasks.cpp b/src/snomasks.cpp index 3b52e2f0e..6750ebcc6 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -21,6 +21,13 @@ #include "modules.h" #include "commands.h" #include "xline.h" - #include "snomasks.h" +SnomaskManager::SnomaskManager(InspIRCd* Instance) : ServerInstance(Instance) +{ +} + +SnomaskManager::~SnomaskManager() +{ +} + |