Rain 8938a29904 Ignore chat triggers for interactive ban reason (#2067)
* Ignore chat triggers for interactive ban reason

If the admin types a chat trigger for a command while BaseBans is
waiting for them to type a ban reason, don't treat that message as the
ban reason.

This fixes a problem where the admin decides to cancel their ban with
"!abortban", "/abortban" etc, but ends up accidentally banning the
player with the ban reason "!abortban" (or by attempting to access any
other command via a chat trigger before typing the ban reason).

* Optimize

Check if we're actually waiting for chat reason before calling the native
2023-10-16 19:43:00 +02:00
2019-09-30 22:43:18 -07:00
2023-10-13 15:26:05 -07:00
2023-10-06 22:47:11 +02:00
2020-08-18 23:09:43 -07:00
2023-10-13 14:04:56 -07:00
2023-10-13 20:59:55 -07:00
2021-09-22 12:36:44 -07:00
2011-04-13 19:05:41 -05:00
2021-11-11 23:41:42 -08:00
2022-07-02 17:02:08 -07:00
2022-12-02 08:50:18 +00:00

SourceMod

General

Development

Contact

  • Connect with us on GameSurge IRC in #sourcemod
  • Alternatively feel free to join our Discord server

License

SourceMod is licensed under the GNU General Public License version 3. Special exceptions are outlined in the LICENSE.txt file inside of the licenses folder.

S
Description
No description provided
Readme
45 MiB
Languages
C 59.7%
C++ 18%
HTML 4.8%
Roff 3.8%
SourcePawn 3.4%
Other 10%