summaryrefslogtreecommitdiff
path: root/modules/commands/ns_set_greet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ns_set_greet.cpp')
-rw-r--r--modules/commands/ns_set_greet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_set_greet.cpp b/modules/commands/ns_set_greet.cpp
index 0bdb1b371..65e8ffd7f 100644
--- a/modules/commands/ns_set_greet.cpp
+++ b/modules/commands/ns_set_greet.cpp
@@ -48,7 +48,7 @@ class CommandNSSetGreet : public Command
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
- this->Run(source, source.u->Account()->display, params.size() > 0 ? params[0] : "");
+ this->Run(source, source.nc->display, params.size() > 0 ? params[0] : "");
}
bool OnHelp(CommandSource &source, const Anope::string &) anope_override