I found bug while banning with Warning Points.
We have warning action with ban user when his Warning Points will be X. When we give X Warning Points to user ban action will be successfull, but in MySQL table `xf_user_ban` column `ban_user_id` will be zero, not moderator user id.
P.S. sorry for my bad english, it's not my first language.