summaryrefslogtreecommitdiff
path: root/src/core/ns_forbid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ns_forbid.cpp')
-rw-r--r--src/core/ns_forbid.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ns_forbid.cpp b/src/core/ns_forbid.cpp
index ff54de4c3..6f05dcdfd 100644
--- a/src/core/ns_forbid.cpp
+++ b/src/core/ns_forbid.cpp
@@ -7,9 +7,8 @@
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
- *
- *
*/
+
/*************************************************************************/
#include "module.h"
@@ -28,7 +27,8 @@ class CommandNSForbid : public Command
const char *reason = params.size() > 1 ? params[1].c_str() : NULL;
/* Assumes that permission checking has already been done. */
- if (Config.ForceForbidReason && !reason) {
+ if (Config.ForceForbidReason && !reason)
+ {
this->OnSyntaxError(u, "");
return MOD_CONT;
}