1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 15:36:38 +02:00

Fixed session exception limit of 0 to mean unlimited

This commit is contained in:
Adam
2011-02-25 21:25:47 -05:00
parent 7cfca37e2a
commit 28d17a40ce
+1 -1
View File
@@ -106,7 +106,7 @@ void add_session(User *u)
if (exception)
{
kill = false;
if (session->count >= exception->limit)
if (exception->limit && session->count >= exception->limit)
kill = true;
}
}