fixes issue 4155 Change-Id: I26fcb0b617339e3db81bef0836436c4920d57f4f Reviewed-on: http://gerrit.dmdirc.com/1263 Reviewed-by: Gregory Holmes <greg@dmdirc.com> Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>