Fixed not rejoining channels on rejoin without server restart.
Merge pull request #9 from andrepl/master

Fixed not rejoining channels on rejoin without server restart.