]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_sqloper.cpp
Removed extremely verbose debugging from the SSL modules, as I believe that bug has...
[user/henk/code/inspircd.git] / src / modules / extra / m_sqloper.cpp
index 3d9d1bcc47c8b246ec484f24b9cf2a60efd0b622..a0d96fc88ac194a43ba309001473b607e12e2f84 100644 (file)
@@ -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 %s %s",user->nick, strchr("aeiou", type[0]) ? "an" : "a", irc::Spacify(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()));
 
                                if (!user->modes[UM_OPERATOR])
                                        user->Oper(type);