summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-28 05:07:00 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-28 05:07:00 +0000
commite3ac0dbb561b53359ac8d900237adc9b3a2546bc (patch)
treea205165386f7e4ef84ef8aaf8ba6ccf5c6f9f3ae /src/modules
parentc742276f84162a49685636449a207be21056a013 (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_sajoin.cpp6
1 files changed, 2 insertions, 4 deletions
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;
}
};