X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_operchans.cpp;h=d1111fd864584098ff4d1eff7d7919e6d6bc54b6;hb=bc344671460c1675fbc31504fd1ffc03ff58a135;hp=41b9e548077aa7eadf7eb9f05ecc54429b935b68;hpb=68730d4c9701b34c962302e6410908865fb2ba28;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_operchans.cpp b/src/modules/m_operchans.cpp index 41b9e5480..d1111fd86 100644 --- a/src/modules/m_operchans.cpp +++ b/src/modules/m_operchans.cpp @@ -61,7 +61,7 @@ class ModuleOperChans : 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 (!IS_OPER(user)) { @@ -85,7 +85,7 @@ class ModuleOperChans : public Module virtual Version GetVersion() { - return Version(1,1,0,0,VF_VENDOR|VF_COMMON,API_VERSION); + return Version(1,2,0,0,VF_VENDOR|VF_COMMON,API_VERSION); } };