summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/override_whois.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/override_whois.cpp')
-rw-r--r--src/modules/m_spanningtree/override_whois.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/override_whois.cpp b/src/modules/m_spanningtree/override_whois.cpp
index 3cb282cb0..f0d8139a3 100644
--- a/src/modules/m_spanningtree/override_whois.cpp
+++ b/src/modules/m_spanningtree/override_whois.cpp
@@ -47,8 +47,8 @@ int ModuleSpanningTree::HandleRemoteWhois(const char* const* parameters, int pcn
}
else if (!remote)
{
- user->WriteServ("401 %s %s :No such nick/channel",user->nick, parameters[1]);
- user->WriteServ("318 %s %s :End of /WHOIS list.",user->nick, parameters[1]);
+ user->WriteNumeric(401, "%s %s :No such nick/channel",user->nick, parameters[1]);
+ user->WriteNumeric(318, "%s %s :End of /WHOIS list.",user->nick, parameters[1]);
return 1;
}
}