diff options
Diffstat (limited to 'src/core/ns_ghost.c')
-rw-r--r-- | src/core/ns_ghost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ns_ghost.c b/src/core/ns_ghost.c index 771dc6195..49c36b303 100644 --- a/src/core/ns_ghost.c +++ b/src/core/ns_ghost.c @@ -60,7 +60,7 @@ class CommandNSGhost : public Command } else { - if (u->nc == na->nc || (!(na->nc->HasFlag(NI_SECURE)) && is_on_access(u, na->nc))) + if (u->Account() == na->nc || (!(na->nc->HasFlag(NI_SECURE)) && is_on_access(u, na->nc))) { std::string buf = "GHOST command used by " + u->nick; kill_user(Config.s_NickServ, nick, buf.c_str()); |