summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-11-21 08:48:28 +0000
committercertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-11-21 08:48:28 +0000
commit958bf6215255a14d11108adf39f5106e958dd9b5 (patch)
treed4b7e631ee4e15498cbb9850a20f3234004f61b6
parent2d7e6c5e2d292b1f4cc48e0b8de88c03483d0ff6 (diff)
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
-rw-r--r--Changes1
-rw-r--r--src/nickserv.c2
-rw-r--r--version.log6
3 files changed, 8 insertions, 1 deletions
diff --git a/Changes b/Changes
index ba8a90fc6..0a7cb5998 100644
--- a/Changes
+++ b/Changes
@@ -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