From 5288575567d453ebd9dfbec44e4948599527dde9 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 2 Sep 2016 17:08:41 +0200 Subject: m_jumpserver Prevent OnUserRegister from running in other modules for users we quit --- src/modules/m_jumpserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_jumpserver.cpp b/src/modules/m_jumpserver.cpp index dce8f0bd5..44c6fc0d9 100644 --- a/src/modules/m_jumpserver.cpp +++ b/src/modules/m_jumpserver.cpp @@ -161,7 +161,7 @@ class ModuleJumpServer : public Module user->WriteNumeric(10, "%s %s %d :Please use this Server/Port instead", user->nick.c_str(), js.redirect_to.c_str(), js.port); ServerInstance->Users->QuitUser(user, js.reason); - return MOD_RES_PASSTHRU; + return MOD_RES_DENY; } return MOD_RES_PASSTHRU; } -- cgit v1.2.3