From 693e0cdc208d1a6dadb5f0698cc7316cd51f8186 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Sat, 11 May 2013 15:51:07 +0200 Subject: [PATCH] idle-pan : oubli --- salesman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.39.2