mirror of
https://github.com/anope/anope.git
synced 2026-06-28 06:56:38 +02:00
fixed trying to delete sessions when a ulined server quits
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2465 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+1
-1
@@ -227,7 +227,7 @@ static void delete_server(Server * serv, const char *quitreason)
|
||||
(quitreason ? sstrdup(quitreason) : NULL);
|
||||
}
|
||||
|
||||
if (LimitSessions) {
|
||||
if (LimitSessions && !is_ulined(server)) {
|
||||
del_session(u->host);
|
||||
}
|
||||
delete u;
|
||||
|
||||
Reference in New Issue
Block a user