X-Git-Url: http://gitweb.pimeys.fr/?p=bots%2Fbasile.git;a=blobdiff_plain;f=basile.py;h=ad22ab649f74ded43ca500733377546a6cc20634;hp=81ada60551be2baa24c09ceceb6ddcbad9bb5a52;hb=HEAD;hpb=2208480655f315f482c1af8977532db2251bc4c6 diff --git a/basile.py b/basile.py index 81ada60..ad22ab6 100755 --- a/basile.py +++ b/basile.py @@ -308,6 +308,8 @@ class Basile(ircbot.SingleServerIRCBot): helpmsg += "\n" + helpmsgs[2] else: helpmsg = helpmsgs[2] + if not helpmsg: # Un non-op a demandé de l'aide sur une commande dont il n'est pas censé connaître l'existence + helpmsg = "Commande inacessible." for ligne in helpmsg.split("\n"): serv.privmsg(auteur, ligne.encode("utf-8")) elif cmd == u"identify":