diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-05-01 18:12:13 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-05-01 18:12:13 +0000 |
commit | a95308ab4cd7a9cec7627abe350e7b063f63f2ba (patch) | |
tree | b450b28855f388835530c77e6d7e90e76c2fe2ff | |
parent | 877a15fc3db18be9131c886720516eae6f582886 (diff) |
Changed rpl_isoper numritc to show opertype
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@770 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/commands.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 97aa6e254..7750ea1b6 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -685,7 +685,8 @@ void handle_whois(char **parameters, int pcnt, userrec *user) } if (strchr(dest->modes,'o')) { - WriteServ(user->fd,"313 %s %s :is an IRC operator",user->nick, dest->nick); + WriteServ(user->fd,"313 %s %s :is %s %s on %s",user->nick, dest->nick, + (strchr("aeiou",dest->oper[0]) ? "an" : "a"),dest->oper, Network); } FOREACH_MOD OnWhois(user,dest); if (!strcasecmp(user->server,dest->server)) |