From: Vincent Le Gallic Date: Sat, 11 May 2013 13:51:07 +0000 (+0200) Subject: idle-pan : oubli X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=693e0cdc208d1a6dadb5f0698cc7316cd51f8186;p=bots%2Fsalesman.git idle-pan : oubli --- diff --git a/salesman.py b/salesman.py index 342b93f..8682b4b 100755 --- a/salesman.py +++ b/salesman.py @@ -580,7 +580,7 @@ class Salesman(ircbot.SingleServerIRCBot): return self.serv.get_nickname() nick = property(_getnick) - def update_activity(self,canal,pseudo,message,force=False): + def update_activity(self,canal="",pseudo="",message="",force=False): if force or (not pseudo in config.idle_bots and all([not re.match(ignore, message) for ignore in config.idle_messages])): self.last_activity[canal]=time.time() def is_active(self,canal):