mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
Fix for bug #1101332, Network.connect ignores password.
This commit is contained in:
parent
c0439bb198
commit
cc7b77e604
@ -90,7 +90,8 @@ class Network(callbacks.Privmsg):
|
|||||||
'already registered.')
|
'already registered.')
|
||||||
return
|
return
|
||||||
Owner = irc.getCallback('Owner')
|
Owner = irc.getCallback('Owner')
|
||||||
newIrc = Owner._connect(network, serverPort=serverPort)
|
newIrc = Owner._connect(network, serverPort=serverPort,
|
||||||
|
password=password)
|
||||||
conf.supybot.networks().add(network)
|
conf.supybot.networks().add(network)
|
||||||
assert newIrc.callbacks is irc.callbacks, 'callbacks list is different'
|
assert newIrc.callbacks is irc.callbacks, 'callbacks list is different'
|
||||||
irc.replySuccess('Connection to %s initiated.' % network)
|
irc.replySuccess('Connection to %s initiated.' % network)
|
||||||
|
Loading…
Reference in New Issue
Block a user