Remove some warnings

Change-Id: If664d17177451f28d24f9a9c1c4172245f88da61
Reviewed-on: http://gerrit.dmdirc.com/3172
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
Fix raw types warning

Change-Id: Icd1d3c2619f1e2f2b7eb0f25f254ffb621239ade
Reviewed-on: http://gerrit.dmdirc.com/3173
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager