diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-04 13:36:09 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-04 13:36:09 +0000 |
commit | c59a28a1a71ccd2ac1fda2b35ef9b0e0e3561fa6 (patch) | |
tree | 5e6df79a60048d088ad3d0d96d7507244ca17a1d | |
parent | 0f339a3a66b32588e2a558fa21646a1519bab7dc (diff) |
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
-rw-r--r-- | src/cmd_whois.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |