From cefb276f299401b3317f4273f4c379d0869c3df8 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 20 Sep 2007 23:08:43 +0000 Subject: Thanks dz, forgot uppercase equivalent of AEIOU in the strchr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8048 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqloper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp index 3d9d1bcc4..a0d96fc88 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 %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); -- cgit v1.2.3