summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-05 21:27:21 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-05 21:27:21 +0000
commit0547af0d7e4afaa4883e0a57e728fd395ef9b844 (patch)
treeeed11708ad57b034b3a929c5cb1efceb51c83a55 /src/modules
parent677b784ce8d870e9e6364144fc5dfed5e0e8e715 (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_redirect.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}