Fix compiler warning.

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