]> gitweb.pimeys.fr Git - bots/basile.git/commitdiff
Basile est un special user, même quand on demande un "reconnect"
authorVincent Le Gallic <legallic@crans.org>
Tue, 1 May 2012 22:25:45 +0000 (00:25 +0200)
committerVincent Le Gallic <legallic@crans.org>
Tue, 1 May 2012 22:25:45 +0000 (00:25 +0200)
basile.py

index ab2c7119d8ac70e4f9d4ed4dfc2b72bab88b3629..3d1febeefcdfcf6b0654e120aade8c429ae0a3ab 100755 (executable)
--- a/basile.py
+++ b/basile.py
@@ -631,7 +631,8 @@ class Basile(ircbot.SingleServerIRCBot):
             elif cmd in ["reconnect"]:
                 if auteur in self.ops:
                     try:
-                        self.nk=self.new_connection_NK(serv,config_note_pseudo,config_note_password)[1]
+                        self.nk=self.new_connection_NK(serv,config_note_pseudo,
+                                              config_note_password,"special")[1]
                     except Exception as exc:
                         self.nk=None
                         log(self.serveur,"""Erreur dans on_pubmsg/"cmd in ["reconnect"]\n"""+str(exc))