]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_operprefix.cpp
Change channel name parameter of Module::OnUserPreJoin() and Channel::JoinUser()...
[user/henk/code/inspircd.git] / src / modules / m_operprefix.cpp
index b6e6b893b73481ee801cdb741fccb3f848b881a9..b0ca38555e24a32ad382a56e554faacace76d4b4 100644 (file)
@@ -97,7 +97,7 @@ class ModuleOperPrefixMode : public Module
                        mw_added = ServerInstance->Modes->AddModeWatcher(&hideoperwatcher);
        }
 
-       ModResult OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string& privs, const std::string& keygiven)
+       ModResult OnUserPreJoin(User* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven)
        {
                /* The user may have the +H umode on himself, but +H does not necessarily correspond
                 * to the +H of m_hideoper.