aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra/m_sqloper.cpp
diff options
context:
space:
mode:
authorGravatar brain2008-03-22 12:03:43 +0000
committerGravatar brain2008-03-22 12:03:43 +0000
commit68730d4c9701b34c962302e6410908865fb2ba28 (patch)
treedfa6b0b1d79bfd894ab75d0415e054b54ff2d850 /src/modules/extra/m_sqloper.cpp
parentAdd WriteNumeric() to User and OnNumeric module event. Note that modules do n... (diff)
downloadinspircd++-68730d4c9701b34c962302e6410908865fb2ba28.tar.gz
inspircd++-68730d4c9701b34c962302e6410908865fb2ba28.tar.bz2
inspircd++-68730d4c9701b34c962302e6410908865fb2ba28.zip
Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that OnNumeric can capture them.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9175 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_sqloper.cpp')
-rw-r--r--src/modules/extra/m_sqloper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp
index 01ff0b3d4..c74461f7d 100644
--- a/src/modules/extra/m_sqloper.cpp
+++ b/src/modules/extra/m_sqloper.cpp
@@ -259,7 +259,7 @@ public:
user->ChangeDisplayedHost(operhost.c_str());
ServerInstance->SNO->WriteToSnoMask('o',"%s (%s@%s) is now an IRC operator of type %s", user->nick, user->ident, user->host, type.c_str());
- user->WriteServ("381 %s :You are now %s %s",user->nick, strchr("aeiouAEIOU", type[0]) ? "an" : "a", irc::Spacify(type.c_str()));
+ user->WriteNumeric(381, "%s :You are now %s %s",user->nick, strchr("aeiouAEIOU", type[0]) ? "an" : "a", irc::Spacify(type.c_str()));
if (!user->modes[UM_OPERATOR])
user->Oper(type, tname);