diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-09-20 23:08:43 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-09-20 23:08:43 +0000 |
commit | cefb276f299401b3317f4273f4c379d0869c3df8 (patch) | |
tree | af9f1df5183d2cfbeaed2569a394e2e95545b8fb /src/cmd_oper.cpp | |
parent | 03fd5520ec3ce775b569d5790bcbf650147fe44c (diff) |
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
Diffstat (limited to 'src/cmd_oper.cpp')
-rw-r--r-- | src/cmd_oper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_oper.cpp b/src/cmd_oper.cpp index de5bd47e6..4d70f29eb 100644 --- a/src/cmd_oper.cpp +++ b/src/cmd_oper.cpp @@ -103,7 +103,7 @@ CmdResult cmd_oper::Handle (const char** parameters, int pcnt, userrec *user) { /* correct oper credentials */ ServerInstance->SNO->WriteToSnoMask('o',"%s (%s@%s) is now an IRC operator of type %s (using oper '%s')",user->nick,user->ident,user->host,irc::Spacify(OperType),parameters[0]); - user->WriteServ("381 %s :You are now %s %s",user->nick, strchr("aeiou", *OperType) ? "an" : "a", irc::Spacify(OperType)); + user->WriteServ("381 %s :You are now %s %s",user->nick, strchr("aeiouAEIOU", *OperType) ? "an" : "a", irc::Spacify(OperType)); if (!user->IsModeSet('o')) user->Oper(OperType); } |