From ee3289029d61da12013e0f5a3e4faf2d07543a0e Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 25 Jun 2014 11:02:19 -0400 Subject: 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 --- include/commands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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; -- cgit