Use method .getboolean() to read boolean option relay.ssl

This commit is contained in:
Sebastien Helleu 2014-02-07 11:51:12 +01:00
parent fbb0156dae
commit 9738f64af8

View File

@ -141,7 +141,7 @@ class MainWindow(QtGui.QMainWindow):
if self.config.getboolean('relay', 'autoconnect'):
self.network.connect_weechat(self.config.get('relay', 'server'),
self.config.get('relay', 'port'),
self.config.get('relay', 'ssl') == 'on',
self.config.getboolean('relay', 'ssl'),
self.config.get('relay', 'password'))
self.show()