diff options
| author | 2008-04-04 15:17:33 +0000 | |
|---|---|---|
| committer | 2008-04-04 15:17:33 +0000 | |
| commit | ad6052e7340ed30bb6e3282c10c287eacd2f2e0f (patch) | |
| tree | 8c5ad1c04434d4d924c76bebb359b55412aebef4 | |
| parent | Make it buildable (diff) | |
Whoops, wrong pointer. write out 500 lines 'i will check my code twice', brain.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9318 e03df62e-2008-0410-955e-edbf42e46eb7
| -rw-r--r-- | src/modules/m_spanningtree/privmsg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/privmsg.cpp b/src/modules/m_spanningtree/privmsg.cpp index 3e2725815..4a266a465 100644 --- a/src/modules/m_spanningtree/privmsg.cpp +++ b/src/modules/m_spanningtree/privmsg.cpp @@ -40,7 +40,7 @@ bool TreeSocket::ServerMessage(const std::string &messagetype, const std::string Channel* channel = Instance->FindChan(target); - if (target) + if (channel) { if (messagetype == "PRIVMSG") { |
