Replace hardcoded mode behaviours.
Merge branch 'master' of github.com:Shizmob/pydle