Skip to content

Commit

Permalink
Make it use the static text for the reason instead, i have a feeling …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
braindigitalis committed Apr 1, 2007
1 parent 4e53473 commit d14267d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/m_jumpserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit d14267d

Please sign in to comment.