@@ -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);
}
@@ -178,7+178,7 @@ class ModuleNickLock : public Module
if (isdigit(newnick[0])) /* Allow a switch to a UID */
return MOD_RES_PASSTHRU;
- if (User::NICKForced.get(user)) /* Allow forced nick changes */
+ if (ServerInstance->NICKForced.get(user)) /* Allow forced nick changes */