summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-04 15:17:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-04 15:17:33 +0000
commitad6052e7340ed30bb6e3282c10c287eacd2f2e0f (patch)
tree8c5ad1c04434d4d924c76bebb359b55412aebef4 /src
parent9f69a7c9e7002cd4096bac1716d5b1ad59834602 (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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/privmsg.cpp2
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")
{