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:
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user