summaryrefslogtreecommitdiff
path: root/src/modules/m_lockserv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_lockserv.cpp')
-rw-r--r--src/modules/m_lockserv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_lockserv.cpp b/src/modules/m_lockserv.cpp
index 9c9baa522..f1d6e764f 100644
--- a/src/modules/m_lockserv.cpp
+++ b/src/modules/m_lockserv.cpp
@@ -106,7 +106,7 @@ public:
{
if (locked)
{
- User::QuitUser(ServerInstance, user, "Server is temporarily closed. Please try again later.");
+ ServerInstance->Users->QuitUser(user, "Server is temporarily closed. Please try again later.");
return 1;
}
return 0;