diff options
author | Adam <Adam@anope.org> | 2014-12-05 17:27:08 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-12-05 17:27:08 -0500 |
commit | afffeb0a1d49c1ac8f06ac9850929a41a52cbc7e (patch) | |
tree | dc8bdbcc0ce4faf5b8e10bf071606d9870edf429 /modules/commands/ns_recover.cpp | |
parent | 4fc71bb22f77930885b11182ad34705d1160efc0 (diff) |
Update Kill() calls to pass source pointer instead of name
Diffstat (limited to 'modules/commands/ns_recover.cpp')
-rw-r--r-- | modules/commands/ns_recover.cpp | 2 |
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.")); |