Fix for an/a and vowel detection in "is an ircop" numeric, noticed by Smartys

git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3989 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2006-06-04 13:36:16 +00:00
parent f158d2dc43
commit 43a045f451

View File

@ -147,7 +147,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))
{