diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 4 |
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; } } |