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 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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 { -- cgit