summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-09-02 17:08:41 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-09-02 17:08:41 +0200
commit5288575567d453ebd9dfbec44e4948599527dde9 (patch)
treee26bd1ff1fb3dcde9a9d3950cd1ba9c8550e1f38 /src/modules
parentc220a48593bf0fa7b3d31c802b6abcbea6a1eb46 (diff)
m_jumpserver Prevent OnUserRegister from running in other modules for users we quit
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_jumpserver.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}