diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-09-20 22:51:49 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-09-20 22:51:49 +0000 |
commit | 03fd5520ec3ce775b569d5790bcbf650147fe44c (patch) | |
tree | 925b2f3d5c0ce4d4b02006ed055e30923c4ddf8d /src/modules/extra | |
parent | f5c1e06b543cbddd5ef33e23475bfe7120fa8aaf (diff) |
As per request from Bricker, change the format of the 'you are now an oper of type <...>' to 'You are now a/an <...>'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8047 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_sqloper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp index bb312ce8a..3d9d1bcc4 100644 --- a/src/modules/extra/m_sqloper.cpp +++ b/src/modules/extra/m_sqloper.cpp @@ -260,7 +260,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 an IRC operator of type %s", user->nick, type.c_str()); + user->WriteServ("381 %s :You are now %s %s",user->nick, strchr("aeiou", type[0]) ? "an" : "a", irc::Spacify(type.c_str())); if (!user->modes[UM_OPERATOR]) user->Oper(type); |