]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Whoops, wrong pointer. write out 500 lines 'i will check my code twice', brain.
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 4 Apr 2008 15:17:33 +0000 (15:17 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 4 Apr 2008 15:17:33 +0000 (15:17 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9318 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree/privmsg.cpp

index 3e27258151ff56bf060f79fa651bfbd85637d53f..4a266a465657e054ed2fcd4f2f57fa65c9c933a9 100644 (file)
@@ -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")
                        {