]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_regonlycreate.cpp
m_override now has a 'requirekey' option, that requires a special key of 'override...
[user/henk/code/inspircd.git] / src / modules / m_regonlycreate.cpp
index c96039b83740cdb22cdea283fd7234c55388deff..eea6b7876f92ecefc1e013e7fab4eb0c8810315e 100644 (file)
@@ -26,7 +26,7 @@ class ModuleRegOnlyCreate : 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)
        {
                if (chan)
                        return 0;
@@ -49,7 +49,7 @@ class ModuleRegOnlyCreate : public Module
        
        virtual Version GetVersion()
        {
-               return Version(1, 1, 0, 0, VF_VENDOR, API_VERSION);
+               return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
        }
 };