summaryrefslogtreecommitdiff
path: root/modules/commands/cs_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_info.cpp')
-rw-r--r--modules/commands/cs_info.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/cs_info.cpp b/modules/commands/cs_info.cpp
index 42dab2e45..d47f9f8c1 100644
--- a/modules/commands/cs_info.cpp
+++ b/modules/commands/cs_info.cpp
@@ -65,8 +65,8 @@ class CommandCSInfo : public Command
std::vector<Anope::string> replies;
info.Process(replies);
- for (unsigned i = 0; i < replies.size(); ++i)
- source.Reply(replies[i]);
+ for (const auto &reply : replies)
+ source.Reply(reply);
}
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override