Fix broken removing

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