diff options
| author | 2006-06-04 13:36:16 +0000 | |
|---|---|---|
| committer | 2006-06-04 13:36:16 +0000 | |
| commit | 43a045f4516a6a1b2f9acd29fa9e3058301de37f (patch) | |
| tree | c4c162aa4ec5e0362cc2b73043691052f21d7728 /src/commands.cpp | |
| parent | Fix for bug found by douglas - when replace= is undefined value (probably du... (diff) | |
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
Diffstat (limited to 'src/commands.cpp')
| -rw-r--r-- | src/commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index f0f5ddf30..69a5ab306 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -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)) { |
