Fixes issue 944 Added unit test to test behaviour described in 944 git-svn-id: http://svn.dmdirc.com/trunk@3560 00569f92-eb28-0410-84fd-f71c24880f