From ad6052e7340ed30bb6e3282c10c287eacd2f2e0f Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 4 Apr 2008 15:17:33 +0000 Subject: 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 --- src/modules/m_spanningtree/privmsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") { -- cgit v1.2.3