mirror of
https://github.com/anope/anope.git
synced 2026-07-05 16:23:13 +02:00
Fixed session exception limit of 0 to mean unlimited
(cherry picked from commit 28d17a40ce)
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ void add_session(const Anope::string &nick, const Anope::string &host, const Ano
|
||||
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