Mercurial > xib
diff commands.py @ 142:8c6184411ec7
minor fix in commands (unbound variable)
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sun, 17 Jan 2010 11:41:56 +0100 |
parents | 931a5edc7971 |
children | 61d7cae1d15d |
line wrap: on
line diff
--- a/commands.py +++ b/commands.py @@ -153,6 +153,7 @@ def halt(bot, command, args_array, bot_a def irc_participants(bot, command, args_array, bot_admin, bridge): + ret = '' if not bridge: for b in bot.bridges: irc_participants_nicknames = b.get_participants_nicknames_list(protocols=['irc']) @@ -183,6 +184,7 @@ def stop_bridge(bot, command, args_array def xmpp_participants(bot, command, args_array, bot_admin, bridge): + ret = '' if not bridge: for b in bot.bridges: xmpp_participants_nicknames = b.get_participants_nicknames_list(protocols=['xmpp'])