1
0
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:
Adam
2011-02-25 21:25:47 -05:00
parent 1a1665ba56
commit b9fb2f8e63
+1 -1
View File
@@ -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;
}
}