]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nicklock.cpp
More stuff so that freebsd users can still use the ports version of openssl if they...
[user/henk/code/inspircd.git] / src / modules / m_nicklock.cpp
index 090481d06e8050cf74fd8eadc329c4453022dd74..8fae4627907ea4eda4970968d3df2fe2c6e680cb 100644 (file)
@@ -58,8 +58,8 @@ class CommandNicklock : public Command
 
                if (!target->ForceNickChange(parameters[1]))
                {
-                       // ugh, nickchange failed for some reason -- possibly existing nick?
-                       User::QuitUser(ServerInstance, target, "Nickname collision");
+                       // ugh, nickchange failed for some reason -- possibly existing nick? XXX change to UID here
+                       ServerInstance->Users->QuitUser(target, "Nickname collision");
                }
 
                // give them a lock flag