Tidy up some deprecations.

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