summaryrefslogtreecommitdiff
path: root/modules/commands/ns_recover.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ns_recover.cpp')
-rw-r--r--modules/commands/ns_recover.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_recover.cpp b/modules/commands/ns_recover.cpp
index a412ad96a..b676ae5fd 100644
--- a/modules/commands/ns_recover.cpp
+++ b/modules/commands/ns_recover.cpp
@@ -72,7 +72,7 @@ class NSRecoverRequest : public IdentifyRequest
source.GetNick().c_str(), source.GetNick().c_str());
Anope::string buf = source.command.upper() + " command used by " + source.GetNick();
- u->Kill(source.service->nick, buf);
+ u->Kill(*source.service, buf);
source.Reply(_("Ghost with your nick has been killed."));