diff options
-rw-r--r-- | conf/inspircd.motd.example | 3 | ||||
-rw-r--r-- | src/modules/m_spanningtree/treesocket2.cpp | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/conf/inspircd.motd.example b/conf/inspircd.motd.example index 6653792ac..cf162e90b 100644 --- a/conf/inspircd.motd.example +++ b/conf/inspircd.motd.example @@ -37,4 +37,5 @@ | Enjoy. | | | \ -- The InspIRCd Team / - -------------------------------------------
\ No newline at end of file + ------------------------------------------- + diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index 46b5ee02b..4851095e8 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -320,6 +320,9 @@ bool TreeSocket::ServiceJoin(const std::string &prefix, std::deque<std::string> if (params.size() < 2) return true; + if (!this->Instance->IsChannel(params[1].c_str())) + return true; + userrec* u = this->Instance->FindNick(params[0]); if (u) |