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 --- modules/commands/bs_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/bs_info.cpp') diff --git a/modules/commands/bs_info.cpp b/modules/commands/bs_info.cpp index 677dfaaf6..4d7bc0765 100644 --- a/modules/commands/bs_info.cpp +++ b/modules/commands/bs_info.cpp @@ -81,7 +81,7 @@ class CommandBSInfo : public Command source.Reply(replies[i]); } else - source.Reply(_("\002{0}\002 is not a valid bot or registered channel."), query.c_str()); + source.Reply(_("\002{0}\002 is not a valid bot or registered channel."), query); } bool OnHelp(CommandSource &source, const Anope::string &subcommand) override -- cgit