]> gitweb.pimeys.fr Git - bots/hung.git/commitdiff
En cas d'échec d'UTF8 et de quiet_channel on n'engueule pas
authorHung IRC Bot <hung@crans.org>
Sun, 20 May 2012 22:04:17 +0000 (00:04 +0200)
committerHung IRC Bot <hung@crans.org>
Sun, 20 May 2012 22:04:17 +0000 (00:04 +0200)
 mais on quitte la fonction !

hung.py
scores.pickle

diff --git a/hung.py b/hung.py
index 18419e9189a5668b8d7009e9d4f408134fac8bba..626c5ad2fb5c7e686e2b1cfac72092aadc58795d 100755 (executable)
--- a/hung.py
+++ b/hung.py
@@ -315,7 +315,7 @@ class Hung(ircbot.SingleServerIRCBot):
             if not canal in self.quiet_channels:
                 serv.privmsg(canal,
                   "%s: Euh, tu fais de la merde avec ton encodage là, j'ai failli crasher…"%(auteur))
-                return
+            return
         pour_moi,message=self.pourmoi(serv,message)
         if pour_moi and message.split()!=[]:
             cmd=message.split()[0].lower()
index de8835d222d04c54d9d4aa643f06d5bb13c3f210..286f96e6c590dadbbbcad4920f78378e133ca1d0 100644 (file)
@@ -4,34 +4,34 @@ p1
 I14
 sS'[20-100]'
 p2
-I50
+I79
 sS'pika'
 p3
-I241
+I355
 sS'Niarvv'
 p4
 I29
-sS'Petite-Peste'
-p5
-I605
 sS'Eguel'
-p6
+p5
 I167
 sS'Shadoko'
+p6
+I63
+sS'Chopopope'
 p7
-I45
+I189
 sS'Skippy'
 p8
-I0
-sS'Chopopope'
+I26
+sS'Petite-Peste'
 p9
-I189
+I684
 sS'Gaetan'
 p10
 I12
 sS'PEB'
 p11
-I43
+I47
 sS'Echec'
 p12
 I10