From e3ac0dbb561b53359ac8d900237adc9b3a2546bc Mon Sep 17 00:00:00 2001 From: special Date: Sat, 28 Oct 2006 05:07:00 +0000 Subject: Removed a bit of unreachable code I added with the last commit (thanks peaveydk) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5558 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sajoin.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/modules/m_sajoin.cpp b/src/modules/m_sajoin.cpp index d7c5828bb..6f91b8864 100644 --- a/src/modules/m_sajoin.cpp +++ b/src/modules/m_sajoin.cpp @@ -76,11 +76,9 @@ class cmd_sajoin : public command_t user->WriteServ("NOTICE "+std::string(user->nick)+" :*** Could not join "+std::string(dest->nick)+" to "+parameters[1]); return CMD_FAILURE; } - - return CMD_SUCCESS; } - else - return CMD_FAILURE; + + return CMD_FAILURE; } }; -- cgit v1.2.3