]> gitweb.pimeys.fr Git - bots/bbc.git/commitdiff
rename class
authorVincent Le Gallic <legallic@crans.org>
Tue, 20 Oct 2015 01:10:17 +0000 (03:10 +0200)
committerVincent Le Gallic <legallic@crans.org>
Tue, 20 Oct 2015 01:10:17 +0000 (03:10 +0200)
bbc.py

diff --git a/bbc.py b/bbc.py
index 79d099c9c56bb495005da1fa77cc8f35de5f870c..a5c798fb69b9ed81da6f6f8adc77261511ab0202 100755 (executable)
--- a/bbc.py
+++ b/bbc.py
@@ -42,7 +42,7 @@ def bot_unicode(chain):
     except UnicodeDecodeError as exc:
         raise UnicodeBotError
 
-class Skeleton(ircbot.SingleServerIRCBot):
+class Bbc(ircbot.SingleServerIRCBot):
     def __init__(self, serveur, debug=False):
         temporary_pseudo = config.irc_pseudo + str(random.randrange(10000, 100000))
         ircbot.SingleServerIRCBot.__init__(self, [(serveur, 6667)],
@@ -383,5 +383,5 @@ if __name__ == "__main__":
     except KeyError:
         print "Server Unknown : %s" % (serveur)
         exit(404)
-    bot = Skeleton(serveur, debug)
+    bot = Bbc(serveur, debug)
     bot.start()