Fix petition becoming available on kick

This commit is contained in:
Noikoio 2017-12-10 11:03:42 -08:00
parent d49299e063
commit 1d5b0beaf4

View file

@ -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