Hostmasks: Implement smartbans feature
Hostmasks: fix