1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 17:36:39 +02:00

Made the help command description code more sane

This commit is contained in:
Adam
2011-02-11 03:12:39 -05:00
parent 7bdf592f7e
commit 2529ff6dae
148 changed files with 215 additions and 939 deletions
+1 -10
View File
@@ -18,6 +18,7 @@ class CommandNSSetEmail : public Command
public:
CommandNSSetEmail(const Anope::string &spermission = "") : Command("EMAIL", 1, 2, spermission)
{
this->SetDesc("Associate an E-mail address with your nickname");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -69,11 +70,6 @@ class CommandNSSetEmail : public Command
"information on the nickname with the \002INFO\002 command."));
return true;
}
void OnServHelp(CommandSource &source)
{
source.Reply(_(" EMAIL Associate an E-mail address with your nickname"));
}
};
class CommandNSSASetEmail : public CommandNSSetEmail
@@ -90,11 +86,6 @@ class CommandNSSASetEmail : public CommandNSSetEmail
"Associates the given E-mail address with the nickname."));
return true;
}
void OnServHelp(CommandSource &source)
{
source.Reply(_(" EMAIL Associate an E-mail address with the nickname"));
}
};
class NSSetEmail : public Module