From a48b35e54d6c3b68286cd3dedb6dc227b48f402a Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 23 May 2016 20:31:34 +0200 Subject: [PATCH] Fix !info crash --- infobot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infobot.py b/infobot.py index c152eda..71499ad 100644 --- a/infobot.py +++ b/infobot.py @@ -51,6 +51,8 @@ class InfoBot(yaboli.Bot): msg = "Sorry, the --list and --name options can't be used simultaneously." elif ("name" in options and options["name"] is not True) or "list" in options: + clients = [] + if "name" in options: name = self.room.mentionable(options["name"]).lower()