Changed the order of three statements so Owner can't get loaded twice.

This commit is contained in:
Jeremy Fincher 2003-12-05 11:53:41 +00:00
parent 40dcc0eb1c
commit f8f0333a9c

View File

@ -202,9 +202,9 @@ if __name__ == '__main__':
irc = irclib.Irc(nick, user, ident, password) irc = irclib.Irc(nick, user, ident, password)
callback = Owner.Class() callback = Owner.Class()
callback.configure(irc)
irc.addCallback(callback) irc.addCallback(callback)
irc.addCallback(ConfigAfterConnect(afterConnect)) irc.addCallback(ConfigAfterConnect(afterConnect))
callback.configure(irc)
driver = drivers.newDriver(server, irc) driver = drivers.newDriver(server, irc)
if options.profile: if options.profile: