diff options
Diffstat (limited to 'src/modules/m_spanningtree/privmsg.cpp')
-rw-r--r-- | src/modules/m_spanningtree/privmsg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/privmsg.cpp b/src/modules/m_spanningtree/privmsg.cpp index cd49001a5..a68590048 100644 --- a/src/modules/m_spanningtree/privmsg.cpp +++ b/src/modules/m_spanningtree/privmsg.cpp @@ -39,7 +39,7 @@ bool TreeSocket::ServerMessage(const std::string &messagetype, const std::string } Channel* channel = Instance->FindChan(target); - + if (channel) { if (messagetype == "PRIVMSG") @@ -60,7 +60,7 @@ bool TreeSocket::ServerMessage(const std::string &messagetype, const std::string else { User* user = Instance->FindNick(target); - + if (user) { if (messagetype == "PRIVMSG") |