From d14267d0cc8a23efb6c2639da56f8c8e1ad90958 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 1 Apr 2007 17:01:42 +0000 Subject: Make it use the static text for the reason instead, i have a feeling clients are looking for the text of the numeric rather than the numeric itself :/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6724 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_jumpserver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/m_jumpserver.cpp b/src/modules/m_jumpserver.cpp index 28694403e..d48223ffb 100644 --- a/src/modules/m_jumpserver.cpp +++ b/src/modules/m_jumpserver.cpp @@ -93,7 +93,7 @@ class cmd_jumpserver : public command_t userrec* t = *i; if (!IS_OPER(t)) { - t->WriteServ("010 %s %s %s :%s", user->nick, parameters[0], parameters[1], reason.c_str()); + t->WriteServ("010 %s %s %s :Please use this Server/Port instead", user->nick, parameters[0], parameters[1]); userrec::QuitUser(ServerInstance, t, reason); n_done++; } @@ -143,7 +143,7 @@ class ModuleJumpServer : public Module { if (js->port && js->redirect_new_users) { - user->WriteServ("010 %s %s %d :%s", user->nick, js->redirect_to.c_str(), js->port, js->reason.c_str()); + user->WriteServ("010 %s %s %d :Please use this Server/Port instead", user->nick, js->redirect_to.c_str(), js->port); userrec::QuitUser(ServerInstance, user, js->reason); return 0; } -- cgit v1.2.3