diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-26 21:18:34 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-26 21:18:34 +0000 |
commit | 497a7e297b99c642fa78b8d3ab015a9d0a254fdc (patch) | |
tree | 017ad09c35c4182a1a9488e9666ceed02dd6f17a /src/modules | |
parent | 9cd8fe39d58be851d09564ab7f9c5e64fa4e58e5 (diff) |
Add 'you are banned' numeric to banredirect output, from avenger's patch
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7842 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_banredirect.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_banredirect.cpp b/src/modules/m_banredirect.cpp index 5e730b47f..3697e995f 100644 --- a/src/modules/m_banredirect.cpp +++ b/src/modules/m_banredirect.cpp @@ -309,7 +309,8 @@ class ModuleBanRedirect : public Module } else { - user->WriteServ("470 %s :You are banned from %s. You are being automatically redirected to %s", user->nick, chan->name, redir->targetchan.c_str()); + user->WriteServ("474 %s %s :Cannot join channel (You are banned)", user->nick, chan->name); + user->WriteServ("470 %s :You are being automatically redirected to %s", user->nick, redir->targetchan.c_str()); nofollow = true; chanrec::JoinUser(ServerInstance, user, redir->targetchan.c_str(), false, "", ServerInstance->Time(true)); nofollow = false; |