1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 10:03:14 +02:00

Actually show the correct number of entries on /os logsearch output

This commit is contained in:
Adam
2012-10-15 03:39:34 -04:00
parent 88f10a2c3c
commit 484baba6ad
+1 -1
View File
@@ -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