From b4978a10c9f88d5fd13034697e770357ba902b21 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 5 Mar 2007 21:43:58 +0000 Subject: 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 --- src/modules/m_redirect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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()); -- cgit v1.2.3