diff options
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index 1ec5f8abe..5ce55b51c 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -388,7 +388,7 @@ void User::Oper(std::shared_ptr<OperInfo> info) localuser->Send(modemsg); } - FOREACH_MOD(OnOper, (this, info->name)); + FOREACH_MOD(OnOper, (this)); std::string opername; if (info->oper_block) @@ -404,7 +404,7 @@ void User::Oper(std::shared_ptr<OperInfo> info) if (localuser) oper->init(); - FOREACH_MOD(OnPostOper, (this, oper->name, opername)); + FOREACH_MOD(OnPostOper, (this)); } namespace |
