summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-05 21:43:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-05 21:43:58 +0000
commitb4978a10c9f88d5fd13034697e770357ba902b21 (patch)
treee0546d7a4837a16939ed131a76bd3abf001a0dc2
parent0547af0d7e4afaa4883e0a57e728fd395ef9b844 (diff)
Return 1 not 0, we dont want two numerics. (thanks peavey)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6626 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_redirect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp
index e6a89ef40..be3525466 100644
--- a/src/modules/m_redirect.cpp
+++ b/src/modules/m_redirect.cpp
@@ -133,7 +133,7 @@ class ModuleRedirect : public Module
if (destchan && destchan->IsModeSet('L'))
{
user->WriteServ("470 %s :%s has a circular redirect (+L), not following redirection to %s", user->nick, cname, channel.c_str());
- return 0;
+ return 1;
}
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());