Tidy warnings

Change-Id: I5e1e8a6eabd136666775666144e67664edccc84c
Reviewed-on: http://gerrit.dmdirc.com/3164
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>