Fixes issue 4039 Change-Id: Ie5ff2edc27c062cf6ff671a8cc88bcd2c80da075 Reviewed-on: http://gerrit.dmdirc.com/1184 Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com> Reviewed-by: Gregory Holmes <greg@dmdirc.com>