diff options
author | Adam <Adam@anope.org> | 2011-04-25 03:16:57 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-05-16 04:07:56 -0400 |
commit | 076ebafa1b4cc935c466c615b94eaac415af9a67 (patch) | |
tree | dbc8b0f9e7b6f954569c13ad35598f5ebe8a081d /modules/core/ns_ghost.cpp | |
parent | 6922bd239c778e8f6f2081476ce20b9426c515ad (diff) |
Moved some global functions to be member functions and misc cleanup
Diffstat (limited to 'modules/core/ns_ghost.cpp')
-rw-r--r-- | modules/core/ns_ghost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/ns_ghost.cpp b/modules/core/ns_ghost.cpp index d22b82472..955f25de7 100644 --- a/modules/core/ns_ghost.cpp +++ b/modules/core/ns_ghost.cpp @@ -69,7 +69,7 @@ class CommandNSGhost : public Command { Log(LOG_COMMAND, u, this) << "for " << nick; Anope::string buf = "GHOST command used by " + u->nick; - kill_user(Config->s_NickServ, user, buf); + user->Kill(Config->s_NickServ, buf); source.Reply(_("Ghost with your nick has been killed."), nick.c_str()); } } |