mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Changed the order of three statements so Owner can't get loaded twice.
This commit is contained in:
parent
40dcc0eb1c
commit
f8f0333a9c
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user