diff options
-rw-r--r-- | src/modules/m_sajoin.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/m_sajoin.cpp b/src/modules/m_sajoin.cpp index 494d255df..d7c5828bb 100644 --- a/src/modules/m_sajoin.cpp +++ b/src/modules/m_sajoin.cpp @@ -76,9 +76,11 @@ 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; } - - return CMD_SUCCESS; + else + return CMD_FAILURE; } }; |