]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_restrictchans.cpp
Break! ...no actually, take the break out :)
[user/henk/code/inspircd.git] / src / modules / m_restrictchans.cpp
index 8543e97193167f88e0dcc64c8bd78d4d5ad79888..1838338bd66fca5d814382d2c7ae9465784644b1 100644 (file)
@@ -51,7 +51,7 @@ class ModuleRestrictChans : public Module
        }
 
        
-       virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs)
+       virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs, const std::string &keygiven)
        {
                irc::string x = cname;
                // user is not an oper and its not in the allow list