NullReferenceException at ExecuteKickError
Hi,

So every once in awhile this will happen. 
20:53 [Error] Failed to run a 0.10 timer in 'EnhancedBanSystem v5.2.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.EnhancedBanSystem.ExecuteKick (System.Object source, Oxide.Core.Libraries.Covalence.IPlayer player, System.String reason, System.Boolean shouldBroadcast) [0x00093] in <256c785de9664fb6924287c0b939561a>:0 
  at Oxide.Plugins.EnhancedBanSystem.Kick (System.Object source, System.String target, System.String reason, System.Boolean shouldBroadcast) [0x0003e] in <256c785de9664fb6924287c0b939561a>:0 
  at Oxide.Plugins.EnhancedBanSystem+<MySQL_IsBanned>c__AnonStorey16+<MySQL_IsBanned>c__AnonStorey17.<>m__2 () [0x0006b] in <256c785de9664fb6924287c0b939561a>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <4452f821def6406d834e4149849fe7ea>:0 ​
 
It will broadcast in chat that the player was banned. But it will never kick the player.

Thanks
Hey, this plugin is undergoing a rewrite! In the time being you'll just have to be paitent until I have released it!

Hello,

I have an error after a ban for "Ban evading" , so the user can stay on the server, not kicked after ban, I just use a MySql Database, no Native.

03:18 [Error] Failed to run a 0.10 timer in 'EnhancedBanSystem v5.2.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.EnhancedBanSystem.ExecuteKick (System.Object source, Oxide.Core.Libraries.Covalence.IPlayer player, System.String reason, System.Boolean shouldBroadcast) [0x00093] in <3b11df82037b41ecb2b7e4b8a82f2858>:0
  at Oxide.Plugins.EnhancedBanSystem.Kick (System.Object source, System.String target, System.String reason, System.Boolean shouldBroadcast) [0x0003e] in <3b11df82037b41ecb2b7e4b8a82f2858>:0
  at Oxide.Plugins.EnhancedBanSystem+<MySQL_IsBanned>c__AnonStorey16+<MySQL_IsBanned>c__AnonStorey17.<>m__2 () [0x0006b] in <3b11df82037b41ecb2b7e4b8a82f2858>:0
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <ac41dd3599754d448b8c218b34645820>:0

Error Fixed :

Line 1750 replace by this line :

timer.Once(0.1f, () => Kick(null, bandata.steamid, match.ContainsKey("reason") ? (string)match["reason"] : (string)l[0]["reason"], false));

Regards