summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-06-25 11:02:19 -0400
committerAdam <Adam@anope.org>2014-06-25 11:02:19 -0400
commitee3289029d61da12013e0f5a3e4faf2d07543a0e (patch)
treedf7391c321a913fc56db2d075292c0a6ddb0536d /include
parentfd9bb0ea7e3c8a39f1632c2ebbdc25d0fac192a0 (diff)
Remove the rest of the 1.8 logic "let's write all of the command handler with no return statement!"
Fix if (something) else if (!something) tests Remove returns at the bottom of void functions
Diffstat (limited to 'include')
-rw-r--r--include/commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/commands.h b/include/commands.h
index 6f29aa135..bd786633a 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -133,12 +133,12 @@ class CoreExport Command : public Service
void ClearSyntax();
void SetSyntax(const Anope::string &s);
- void SendSyntax(CommandSource &);
void AllowUnregistered(bool b);
void RequireUser(bool b);
public:
+ void SendSyntax(CommandSource &);
bool AllowUnregistered() const;
bool RequireUser() const;