X-Git-Url: http://gitweb.pimeys.fr/?p=bots%2Fbasile.git;a=blobdiff_plain;f=basile.py;h=610a34609e65d374d875e1a315a1ef8a97965e4b;hp=560382943319429f96bec6f2782b9555de83ef80;hb=9fd92669fd83e2ac4c57874aad0996ea2d0964f9;hpb=6b55be4964c053d218b2b1d5030441e5fa314b52 diff --git a/basile.py b/basile.py index 5603829..610a346 100755 --- a/basile.py +++ b/basile.py @@ -92,9 +92,9 @@ def connect_NK(): def login_NK(username,password,typ="bdd"): sock=connect_NK() if typ=="special": # ça c'est pour Basile lui-même - masque='["note"]' + masque='[]' elif typ=="bdd": - masque='[["all"],["all"],false]' + masque='[[], [], true]' try: # Basile a un compte special user commande='login [%s,%s,"%s",%s]'%(json.dumps(username),json.dumps(password),typ,masque) @@ -237,8 +237,6 @@ class Basile(ircbot.SingleServerIRCBot): log(self.serveur,"Connected") if self.debug: self.chanlist=["#bot"] - else: - serv.privmsg("ChanServ", "INVITE #note-dev") for c in self.chanlist: log(self.serveur,"JOIN %s"%(c)) serv.join(c)