diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/nickserv.c | 2 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 8 insertions, 1 deletions
@@ -3,6 +3,7 @@ Anope Version S V N Provided by Anope Dev. <dev@anope.org> - 2004 11/18 A Unable to use registered nicknames as bot nicks from now on. [ #00] 11/18 A NSAddAccessOnReg to control access list on registration. [ #00] +11/21 F Fixed session decrease on /NS GHOST. [#229] 11/19 F Wrong string and missing registered nick check in bot change. [#221] Provided by Trystan <trystan@nomadirc.net> - 2004 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 { diff --git a/version.log b/version.log index 66fbb0e02..33d6046db 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="6" -VERSION_BUILD="456" +VERSION_BUILD="457" # $Log$ # +# BUILD : 1.7.6 (457) +# BUGS : +# NOTES : Fixed session decrease on /NS GHOST. +# # BUILD : 1.7.6 (456) # BUGS : N/A # NOTES : Disables UseRDB if SQL fails to init |