diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree/treesocket1.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index 1b662a269..b2e687b2c 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -851,10 +851,7 @@ bool TreeSocket::ForceJoin(const std::string &source, std::deque<std::string> &p for (std::string::iterator x = modes.begin(); x != modes.end(); ++x) modestack.Push(*x, who->nick); - if (created) - chanrec::JoinUser(this->Instance, who, channel.c_str(), true, "", TS); - else - chanrec::JoinUser(this->Instance, who, channel.c_str(), true, ""); + chanrec::JoinUser(this->Instance, who, channel.c_str(), true, "", TS); } else { |