Fixes CLIENT-397

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