Twentysix26 / x26-Cogs

General purpose cogs for Red V3
GNU General Public License v3.0
41 stars 30 forks source link

[Bug] send-mod-log broken for softban-user action #74

Open EternalllZM opened 10 months ago

EternalllZM commented 10 months ago

Cog

Describe the bug The send-mod-log function will not create a case when used in conjunction with softban-user, it will just report the following:

(send-mod-log) - softban-user is not a valid action type.

To Reproduce Steps to reproduce the behavior:

  1. Create a rule utilizing softban-user and send-mod-log
  2. On a target-able rank/account, trigger the function
  3. Rule errors out and stops on the send-mod-log function.

Expected behavior Creates a modlog case