Fixing name change bug

If you changed nicks then went to a new channel, the server would crash.
Merge pull request #37 from Elystus/master

Fixing name change bug