Don't reassign params and simplify logic
Don't reassign params and simplify logic

Change-Id: I0125f179b3f6e5fb44b5fd707a54997695ec8e0a
Reviewed-on: http://gerrit.dmdirc.com/1741
Reviewed-by: Greg Holmes <79e2475f81a6317276bf7cbb3958b20d289b78df@dmdirc.com>
Automatic-Compile: DMDirc Local Commits <fd7610eb81751244add0a62da2de7da51cfdce47@googlemail.com>

greboid/Parser,DMDirc/Parser,ShaneMcC/DMDirc-Parser,csmith/DMDirc-Parser