diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-29 17:09:06 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-29 17:09:06 +0000 |
commit | de6a9294e350a7339e280ab3e8a5f4c8d1343660 (patch) | |
tree | c45d06c0c2db5044ea5b4de3e7647975c16543d5 /src/commands.cpp | |
parent | 76f43a55180e8b8e8e3bbb32be3931ca1431666a (diff) |
Added opertype to OnOper and added OnMode function
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2010 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 fdaaece1b..c1b7ce82e 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1589,7 +1589,7 @@ void handle_oper(char **parameters, int pcnt, userrec *user) { strcat(user->modes,"o"); WriteServ(user->fd,"MODE %s :+o",user->nick); - FOREACH_MOD OnOper(user); + FOREACH_MOD OnOper(user,OperType); log(DEFAULT,"OPER: %s!%s@%s opered as type: %s",user->nick,user->ident,user->host,OperType); AddOper(user); } |