Fix petition becoming available on kick
This commit is contained in:
parent
d49299e063
commit
1d5b0beaf4
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ namespace Noikoio.RegexBot.Module.ModTools.Commands
|
|||
else notifyfail = true;
|
||||
|
||||
// Give target user ability to petition
|
||||
Mt.AddPetition(g.Id, targetuid);
|
||||
if (_mode == CommandMode.Ban) Mt.AddPetition(g.Id, targetuid);
|
||||
|
||||
// Do the action
|
||||
try
|
||||
|
|
Loading…
Reference in a new issue