mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +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.')
|
||||
return
|
||||
Owner = irc.getCallback('Owner')
|
||||
newIrc = Owner._connect(network, serverPort=serverPort)
|
||||
newIrc = Owner._connect(network, serverPort=serverPort,
|
||||
password=password)
|
||||
conf.supybot.networks().add(network)
|
||||
assert newIrc.callbacks is irc.callbacks, 'callbacks list is different'
|
||||
irc.replySuccess('Connection to %s initiated.' % network)
|
||||
|
Loading…
Reference in New Issue
Block a user