Did some refactoring, hopefully fixed !global(un)ban and !pastebinlog