Remove warnings in plugins

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