From fb2191240c3dc31d2068793357f0b4c2cf870a0c Mon Sep 17 00:00:00 2001 From: "trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sat, 11 Dec 2004 22:50:51 +0000 Subject: BUILD : 1.7.6 (488) BUGS : N/A NOTES : del_session() warning messages when LimitSessions is disabled. git-svn-id: svn://svn.anope.org/anope/trunk@488 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@342 5417fbe8-f217-4b02-8779-1006273d7864 --- src/nickserv.c | 6 +++++- version.log | 6 +++++- 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() -- cgit