Someone at some point added code to clean unicode strings (presumably to stop people filing others irc clients with gunk), commiting an uncommited change.
Fix indentation and be a bit more verbose on errors.

Someone elses uncommited change
Merge branch 'master' of git://github.com/londonhackspace/Doorbot