summaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-03-16 22:17:16 +0100
committerlassulus <lassulus@googlemail.com>2014-03-16 22:17:16 +0100
commit10a5a94176b21e54d743be2d1a7a3898ed5916b4 (patch)
treeb45e582d9869432385d79ae554c523de05847792 /news
parentf39adfd9f57cff86813b4be4c503dda5055f02a1 (diff)
newsbot.py: dummy nickinuse fix
Diffstat (limited to 'news')
-rw-r--r--news/newsbot.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/news/newsbot.py b/news/newsbot.py
index 4e07d622..2f8bf635 100644
--- a/news/newsbot.py
+++ b/news/newsbot.py
@@ -140,7 +140,9 @@ class RssBot(asybot):
self.lastnew = datetime.now()
self.url_shortener = url_shortener
self.retry = True
- self.on_nickinuse = lambda: None
+
+ def on_nickinuse(*bla):
+ pass
def start_rss(self):
self.upd_loop = threading.Thread(target=self.updateloop)