diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-04 16:05:46 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-04 16:05:46 +0000 |
commit | 06335d5a19e42b7b896d4b19a17bb758fb2cd76a (patch) | |
tree | b1a4e4bd530da696efd39603080e955f3e22f063 | |
parent | b1aa96263438274f2a9a1ba65fa71da63d2f4569 (diff) |
Fix lost messages, thanks w00t and peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9325 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_spanningtree/treesocket2.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index 903186b31..4b4ba65f0 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -347,10 +347,9 @@ bool TreeSocket::ProcessLine(std::string &line) { return this->ForceJoin(prefix,params); } - else if (command == "NOTICE" || command == "PRIVMSG") + else if ((command == "NOTICE" || command == "PRIVMSG") && (Utils->IsServer(prefix))) { - if (Utils->IsServer(prefix)) - return this->ServerMessage(assign(command), prefix, params, sourceserv); + return this->ServerMessage(assign(command), prefix, params, sourceserv); } else if (command == "STATS") { |