From dbc3b59499cb17a8a7e85a38ad9359c3416da335 Mon Sep 17 00:00:00 2001 From: James Vega Date: Wed, 25 Aug 2004 17:05:27 +0000 Subject: [PATCH] we need the world --- src/Misc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Misc.py b/src/Misc.py index 00ed11d9d..789fd2485 100755 --- a/src/Misc.py +++ b/src/Misc.py @@ -45,6 +45,7 @@ from itertools import imap, ifilter import supybot.conf as conf import supybot.utils as utils +import supybot.world as world import supybot.ircdb as ircdb import supybot.irclib as irclib import supybot.ircmsgs as ircmsgs @@ -582,7 +583,7 @@ class Misc(callbacks.Privmsg): Returns the networks to which the bot is currently connected. """ - L = ['%s: %s' % (irc.network, irc.server) for irc in world.ircs] + L = ['%s: %s' % (ircd.network, ircd.server) for ircd in world.ircs] utils.sortBy(str.lower, L) irc.reply(utils.commaAndify(L))