Attached patch adds a cvar g_adminMaxBan.
It is the maximum length a ban can be placed with !ban in days.
Default is 0, disabled - this will result in existing ban behavior.
When set, giving no length to !ban will set the ban for g_adminMaxBan days.
Admin/levels with the permanent ban flag '8' will be able to !adjust the
ban to permanent or any time over g_adminMaxBan, however admin/levels
without the permanent ban flag may not increase a ban length beyond
g_adminMaxBan.
Note: This is to aid in the new ban policy, as requested by Meow.
Original issue reported on code.google.com by Rez...@gmail.com on 16 Mar 2008 at 3:36
Original issue reported on code.google.com by
Rez...@gmail.com
on 16 Mar 2008 at 3:36Attachments: