mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
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:
parent
f158d2dc43
commit
43a045f451
@ -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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user