ircmatch python: simplify python 3 support