From 958bf6215255a14d11108adf39f5106e958dd9b5 Mon Sep 17 00:00:00 2001 From: "certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sun, 21 Nov 2004 08:48:28 +0000 Subject: BUILD : 1.7.6 (457) BUGS : NOTES : Fixed session decrease on /NS GHOST. git-svn-id: svn://svn.anope.org/anope/trunk@457 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@311 5417fbe8-f217-4b02-8779-1006273d7864 --- src/nickserv.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/nickserv.c b/src/nickserv.c index 34bdd780d..773a1282b 100644 --- a/src/nickserv.c +++ b/src/nickserv.c @@ -4005,6 +4005,7 @@ static int do_ghost(User * u) char buf[NICKMAX + 32]; snprintf(buf, sizeof(buf), "GHOST command used by %s", u->nick); + del_session(u2->host); kill_user(s_NickServ, nick, buf); notice_lang(s_NickServ, u, NICK_GHOST_KILLED, nick); } else { @@ -4022,6 +4023,7 @@ static int do_ghost(User * u) char buf[NICKMAX + 32]; snprintf(buf, sizeof(buf), "GHOST command used by %s", u->nick); + del_session(u2->host); kill_user(s_NickServ, nick, buf); notice_lang(s_NickServ, u, NICK_GHOST_KILLED, nick); } else { -- cgit