From c59a28a1a71ccd2ac1fda2b35ef9b0e0e3561fa6 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 Jun 2006 13:36:09 +0000 Subject: Fix for an/a and vowel detection in "is an ircop" numeric, noticed by Smartys git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3988 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_whois.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd_whois.cpp b/src/cmd_whois.cpp index bb36f3d6d..4ef1e0373 100644 --- a/src/cmd_whois.cpp +++ b/src/cmd_whois.cpp @@ -66,7 +66,7 @@ void do_whois(userrec* user, userrec* dest,unsigned long signon, unsigned long i } if (*dest->oper) { - WriteServ(user->fd,"313 %s %s :is %s %s on %s",user->nick, dest->nick, (strchr("aeiou",*dest->oper) ? "an" : "a"),dest->oper, Config->Network); + WriteServ(user->fd,"313 %s %s :is %s %s on %s",user->nick, dest->nick, (strchr("AEIOUaeiou",*dest->oper) ? "an" : "a"),dest->oper, Config->Network); } if ((!signon) && (!idle)) { -- cgit v1.2.3