summaryrefslogtreecommitdiff
path: root/src/modules/m_jumpserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_jumpserver.cpp')
-rw-r--r--src/modules/m_jumpserver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_jumpserver.cpp b/src/modules/m_jumpserver.cpp
index d0c692d0c..5593b482a 100644
--- a/src/modules/m_jumpserver.cpp
+++ b/src/modules/m_jumpserver.cpp
@@ -90,7 +90,7 @@ class CommandJumpserver : public Command
if (!IS_OPER(t))
{
t->WriteNumeric(10, "%s %s %s :Please use this Server/Port instead", user->nick, parameters[0], parameters[1]);
- User::QuitUser(ServerInstance, t, reason);
+ ServerInstance->Users->QuitUser(t, reason);
n_done++;
}
}
@@ -142,7 +142,7 @@ class ModuleJumpServer : public Module
if (js->port && js->redirect_new_users)
{
user->WriteNumeric(10, "%s %s %d :Please use this Server/Port instead", user->nick, js->redirect_to.c_str(), js->port);
- User::QuitUser(ServerInstance, user, js->reason);
+ ServerInstance->Users->QuitUser(user, js->reason);
return 0;
}
return 0;