summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}
};