summaryrefslogtreecommitdiff
path: root/modules/core/ns_set_greet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ns_set_greet.cpp')
-rw-r--r--modules/core/ns_set_greet.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/modules/core/ns_set_greet.cpp b/modules/core/ns_set_greet.cpp
index d0c0bdcd9..ab0c29fdf 100644
--- a/modules/core/ns_set_greet.cpp
+++ b/modules/core/ns_set_greet.cpp
@@ -18,6 +18,7 @@ class CommandNSSetGreet : public Command
public:
CommandNSSetGreet(const Anope::string &spermission = "") : Command("GREET", 1, 2, spermission)
{
+ this->SetDesc("Associate a greet message with your nickname");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -53,11 +54,6 @@ class CommandNSSetGreet : public Command
"access on it."));
return true;
}
-
- void OnServHelp(CommandSource &source)
- {
- source.Reply(_(" GREET Associate a greet message with your nickname"));
- }
};
class CommandNSSASetGreet : public CommandNSSetGreet
@@ -77,11 +73,6 @@ class CommandNSSASetGreet : public CommandNSSetGreet
"access on it."));
return true;
}
-
- void OnServHelp(CommandSource &source)
- {
- source.Reply(_(" GREET Associate a greet message with the nickname"));
- }
};
class NSSetGreet : public Module