summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nickserv.c6
-rw-r--r--version.log6
2 files changed, 10 insertions, 2 deletions
diff --git a/src/nickserv.c b/src/nickserv.c
index 89c1b8a77..27dfc31ef 100644
--- a/src/nickserv.c
+++ b/src/nickserv.c
@@ -4037,7 +4037,11 @@ 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);
+#ifndef STREAMLINED
+ if (LimitSessions) {
+ del_session(u2->host);
+ }
+#endif
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 d798b3d17..0ca1dd083 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="6"
-VERSION_BUILD="487"
+VERSION_BUILD="488"
# $Log$
#
+# BUILD : 1.7.6 (488)
+# BUGS : N/A
+# NOTES : del_session() warning messages when LimitSessions is disabled.
+#
# BUILD : 1.7.6 (487)
# BUGS :
# NOTES : Fixed possible NULL-free() in delcore()