From afffeb0a1d49c1ac8f06ac9850929a41a52cbc7e Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 5 Dec 2014 17:27:08 -0500 Subject: Update Kill() calls to pass source pointer instead of name --- modules/commands/ns_recover.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/ns_recover.cpp') 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.")); -- cgit