From dcfae6332e9b4ba86d8fc7396c63a2176c551dae Mon Sep 17 00:00:00 2001 From: lethality Date: Wed, 3 Oct 2012 21:22:03 +0100 Subject: [PATCH] Some minor fixes/typos --- modules/commands/os_logsearch.cpp | 4 ++-- modules/extra/webcpanel/templates/default/chanserv/set.html | 2 +- modules/extra/webcpanel/webcpanel.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/commands/os_logsearch.cpp b/modules/commands/os_logsearch.cpp index 806d35ca1..ef574f094 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::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"), found, replies, search_string.c_str()); } bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override @@ -130,7 +130,7 @@ class CommandOSLogSearch : public Command source.Reply(" "); source.Reply(_("This command searches the Services logfiles for messages\n" "that match the given pattern. The day and limit argument\n" - "may be used to specifcy how many days of logs to search\n" + "may be used to specify how many days of logs to search\n" "and the number of replies to limit to. By default this\n" "command searches one week of logs, and limits replies\n" "to 50.\n" diff --git a/modules/extra/webcpanel/templates/default/chanserv/set.html b/modules/extra/webcpanel/templates/default/chanserv/set.html index ec2a33929..a97455717 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/set.html +++ b/modules/extra/webcpanel/templates/default/chanserv/set.html @@ -22,7 +22,7 @@ {END IF} Time registered - {TIME_REGISTERED + {TIME_REGISTERED} Last used diff --git a/modules/extra/webcpanel/webcpanel.cpp b/modules/extra/webcpanel/webcpanel.cpp index d3914cfeb..460efba3a 100644 --- a/modules/extra/webcpanel/webcpanel.cpp +++ b/modules/extra/webcpanel/webcpanel.cpp @@ -189,7 +189,7 @@ namespace WebPanel service_reference cmd("Command", c); if (!cmd) { - r["MESSAGSE"] = "Unable to find command " + c; + r["MESSAGES"] = "Unable to find command " + c; return; }