]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nicklock.cpp
Remove the intercomm system since sqlite is synchronous.
[user/henk/code/inspircd.git] / src / modules / m_nicklock.cpp
index 0ca0a9bac3ef75e2ca42b80a61923055ed00b7bd..759a38bc156493fc3bd1d9f772609986db5a6b89 100644 (file)
@@ -156,7 +156,7 @@ class ModuleNickLock : public Module
        {
                ServerInstance->AddCommand(&cmd1);
                ServerInstance->AddCommand(&cmd2);
-               Extensible::Register(&locked);
+               ServerInstance->Extensions.Register(&locked);
                ServerInstance->Modules->Attach(I_OnUserPreNick, this);
        }
 
@@ -166,7 +166,7 @@ class ModuleNickLock : public Module
 
        Version GetVersion()
        {
-               return Version("Provides the NICKLOCK command, allows an oper to chage a users nick and lock them to it until they quit", VF_COMMON | VF_VENDOR, API_VERSION);
+               return Version("Provides the NICKLOCK command, allows an oper to chage a users nick and lock them to it until they quit", VF_COMMON | VF_VENDOR);
        }