summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-23 19:22:16 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-23 19:22:16 +0000
commitf648e5550550819d875246855fef40c9bec80839 (patch)
treea75701a01e6128934dceee5382cb466312406fc2 /src/modules
parent7549a4d047a4d24ee4d30ac1d25115afe5a7e111 (diff)
Typo fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2869 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 768657872..bc1cc8770 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -878,9 +878,7 @@ class TreeSocket : public InspSocket
}
else
{
- userrec* user = Srv->FindNick(source);
- if (user)
- WriteChannel(c, user "TOPIC %s :%s", c->name, c->topic);
+ WriteChannel(c, user, "TOPIC %s :%s", c->name, c->topic);
nsource = user->server;
}
}