summaryrefslogtreecommitdiff
path: root/modules/commands/ns_getemail.cpp
diff options
context:
space:
mode:
authorRobby- <robby@chat.be>2013-02-02 07:30:53 +0100
committerRobby- <robby@chat.be>2013-02-02 07:30:53 +0100
commit15b37c1e38b20a3f6244af179dfdb395ee929800 (patch)
tree5ce51a5ecb759c472d3f44a322e9fb61a2bbd7ab /modules/commands/ns_getemail.cpp
parentdccb0ee3138359559d3a984d4708b53154aa7082 (diff)
Some more typo and help text fixes, proper formatting of control codes, missing privileges, and settings corrections.
Diffstat (limited to 'modules/commands/ns_getemail.cpp')
-rw-r--r--modules/commands/ns_getemail.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/commands/ns_getemail.cpp b/modules/commands/ns_getemail.cpp
index 323fa33a8..7728f3178 100644
--- a/modules/commands/ns_getemail.cpp
+++ b/modules/commands/ns_getemail.cpp
@@ -23,7 +23,7 @@ class CommandNSGetEMail : public Command
CommandNSGetEMail(Module *creator) : Command(creator, "nickserv/getemail", 1, 1)
{
this->SetDesc(_("Matches and returns all users that registered using given email"));
- this->SetSyntax(_("\037user@email-host\037"));
+ this->SetSyntax(_("\037email\037"));
}
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
@@ -40,13 +40,13 @@ class CommandNSGetEMail : public Command
if (!nc->email.empty() && nc->email.equals_ci(email))
{
++j;
- source.Reply(_("Emails Match \002%s\002 to \002%s\002."), nc->display.c_str(), email.c_str());
+ source.Reply(_("Email matched: \002%s\002 to \002%s\002."), nc->display.c_str(), email.c_str());
}
}
if (j <= 0)
{
- source.Reply(_("No Emails listed for \002%s\002."), email.c_str());
+ source.Reply(_("No nick registrations matching \002%s\002 found."), email.c_str());
return;
}
@@ -58,9 +58,9 @@ class CommandNSGetEMail : public Command
this->SendSyntax(source);
source.Reply(" ");
source.Reply(_("Returns the matching nicks that used given email. \002Note\002 that\n"
- "you can not use wildcards for either user or emailhost. Whenever\n"
- "this command is used, a message including the person who issued\n"
- "the command and the email it was used on will be logged."));
+ "you can not use wildcards. Whenever this command is used, a message\n"
+ "including the person who issued the command and the email it was used\n"
+ "on will be logged."));
return true;
}
};