summaryrefslogtreecommitdiff
path: root/modules/botserv/assign.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-10-22 16:43:18 -0400
committerAdam <Adam@anope.org>2016-10-22 16:52:29 -0400
commitfce6169f4e134a99dbb19997337b1bb250889147 (patch)
treeb6f2f6c1bc7094a32b5dc6bb1df97fc4b675e9e0 /modules/botserv/assign.cpp
parent06f40cabcb167e2764c03092f6ec3f7383983f95 (diff)
Various codestyle cleanup in most of the core modules
Diffstat (limited to 'modules/botserv/assign.cpp')
-rw-r--r--modules/botserv/assign.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/botserv/assign.cpp b/modules/botserv/assign.cpp
index a26b869fe..95691b6a9 100644
--- a/modules/botserv/assign.cpp
+++ b/modules/botserv/assign.cpp
@@ -207,7 +207,9 @@ class CommandBSSetNoBot : public Command
source.Reply(_("No-bot mode is now \002off\002 for \002{0}\002."), ci->GetName());
}
else
+ {
this->OnSyntaxError(source, source.command);
+ }
}
bool OnHelp(CommandSource &source, const Anope::string &) override