summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-04 13:36:09 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-04 13:36:09 +0000
commitc59a28a1a71ccd2ac1fda2b35ef9b0e0e3561fa6 (patch)
tree5e6df79a60048d088ad3d0d96d7507244ca17a1d /src
parent0f339a3a66b32588e2a558fa21646a1519bab7dc (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
Diffstat (limited to 'src')
-rw-r--r--src/cmd_whois.cpp2
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))
{