summaryrefslogtreecommitdiff
path: root/src/modules/m_jumpserver.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-01 17:01:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-01 17:01:42 +0000
commitd14267d0cc8a23efb6c2639da56f8c8e1ad90958 (patch)
tree0e08549b3ea018cd926c3bff96a1cdbeed3f4326 /src/modules/m_jumpserver.cpp
parent4e5347348dd9fedaf4521a784db67300582ffdb3 (diff)
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
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 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;
}