From 0547af0d7e4afaa4883e0a57e728fd395ef9b844 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 5 Mar 2007 21:27:21 +0000 Subject: Change oper notice into a numeric to the user: %s :%s has a circular redirect (+L). Not following redirection to %s. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6625 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_redirect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp index 18098d833..e6a89ef40 100644 --- a/src/modules/m_redirect.cpp +++ b/src/modules/m_redirect.cpp @@ -132,11 +132,11 @@ class ModuleRedirect : public Module destchan = ServerInstance->FindChan(channel); if (destchan && destchan->IsModeSet('L')) { - ServerInstance->WriteOpers("*** %s has circular or chained +L to %s", chan->name, channel.c_str()); + user->WriteServ("470 %s :%s has a circular redirect (+L), not following redirection to %s", user->nick, cname, channel.c_str()); return 0; } - user->WriteServ("470 %s :%s has become full, so you are automatically being transferred to the linked channel %s",user->nick,cname,channel.c_str()); + user->WriteServ("470 %s :%s has become full, so you are automatically being transferred to the linked channel %s", user->nick, cname, channel.c_str()); chanrec::JoinUser(ServerInstance, user, channel.c_str(), false); return 1; } -- cgit v1.2.3