From f72b7a7194b7225a4df5de4d8b5848f5b733b789 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 13 Dec 2008 15:41:19 +0000 Subject: Use freenode's 470 numeric for redirection. Note that if redirection channel is +L, then a 470 with target channel '*' will be omitted to indicate you would be redirected, but cannot. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10882 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_redirect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp index 27273214a..ab992a05a 100644 --- a/src/modules/m_redirect.cpp +++ b/src/modules/m_redirect.cpp @@ -120,11 +120,11 @@ class ModuleRedirect : public Module destchan = ServerInstance->FindChan(channel); if (destchan && destchan->IsModeSet('L')) { - user->WriteNumeric(470, "%s :You may not join %s. A redirect is set, but you may not be redirected as it is a circular loop.", user->nick.c_str(), cname); + user->WriteNumeric(470, "%s %s * :You may not join this channel. A redirect is set, but you may not be redirected as it is a circular loop.", user->nick.c_str(), cname); return 1; } - user->WriteNumeric(470, "%s :You may not join %s, so you are automatically being transferred to the redirect channel %s", user->nick.c_str(), cname, channel.c_str()); + user->WriteNumeric(470, "%s %s %s:You may not join this channel, so you are automatically being transferred to the redirect channel.", user->nick.c_str(), cname, channel.c_str()); Channel::JoinUser(ServerInstance, user, channel.c_str(), false, "", false, ServerInstance->Time()); return 1; } -- cgit v1.2.3