Update irc.py

Fixed illegal command characters and low time window.
Merge pull request #2 from lovedufva/patch-2

Update irc.py