summaryrefslogtreecommitdiff
path: root/modules/commands/os_logsearch.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-15 03:39:34 -0400
committerAdam <Adam@anope.org>2012-10-15 03:54:26 -0400
commit484baba6ad877eb0a3d7f560cbf67517c7597874 (patch)
tree608f38f70fe9967d5f59d0a18b048f7321aae94f /modules/commands/os_logsearch.cpp
parent88f10a2c3cc4c23bb67409a5589f93a55e8b0b49 (diff)
Actually show the correct number of entries on /os logsearch output
Diffstat (limited to 'modules/commands/os_logsearch.cpp')
-rw-r--r--modules/commands/os_logsearch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_logsearch.cpp b/modules/commands/os_logsearch.cpp
index 0de6bc279..fab1ced51 100644
--- a/modules/commands/os_logsearch.cpp
+++ b/modules/commands/os_logsearch.cpp
@@ -121,7 +121,7 @@ class CommandOSLogSearch : public Command
unsigned count = 0;
for (std::list<Anope::string>::iterator it = matches.begin(), it_end = matches.end(); it != it_end; ++it)
source.Reply("#%d: %s", ++count, it->c_str());
- source.Reply(_("Showed %d/%d matches for \2%s\2"), replies, found, search_string.c_str());
+ source.Reply(_("Showed %d/%d matches for \2%s\2"), matches.size(), found, search_string.c_str());
}
bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override