def crash(self, chan="nowhere", who="nobody"):
"""Fait crasher le bot."""
where = "en privé" if chan == "priv" else "sur le chan %s" % chan
- raise CrashError("Crash demandé par %s %s" % (who, where))
+ raise CrashError((u"Crash demandé par %s %s" % (who, where)).encode("utf-8"))
ACTIONS = {
"reload" : execute_reload,