Fixes #1013 feature

https://github.com/mybb/mybb/issues/1013
Small intendation issue

...
Just to shorten this monster a bit...

...
Added username to log

...
Merge pull request #1099 from Destroy666x/fix1013f

Fix1013f