diff options
Diffstat (limited to 'modules/operprefix.cpp')
| -rw-r--r-- | modules/operprefix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/operprefix.cpp b/modules/operprefix.cpp index d54e04e83..e122b8572 100644 --- a/modules/operprefix.cpp +++ b/modules/operprefix.cpp @@ -75,10 +75,10 @@ public: */ } - ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven, bool override) override + ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, PrefixMode::Set& privs, const std::string& keygiven, bool override) override { if ((user->IsOper()) && (!user->IsModeSet(hideopermode))) - privs.push_back('y'); + privs.insert(&opm); return MOD_RES_PASSTHRU; } |
