pull/58/head
Mal Hancock 2019-02-16 10:51:02 -08:00
parent 2118cc26eb
commit 3cc712b835
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class Bot(irc.bot.SingleServerIRCBot):
self.log_level = kwargs.get('log_level', 'info')
self.server_pass = kwargs.get('server_pass', None)
self.cmd_prefix = kwargs.get('cmd_prefix', '!')
self.use_prefix_for_plugins('use_prefix_for_plugins', False)
self.use_prefix_for_plugins = kwargs.get('use_prefix_for_plugins', False)
if self.ssl_required:
factory = irc.connection.Factory(wrapper=ssl.wrap_socket)
irc.bot.SingleServerIRCBot.__init__(self, [(server, self.port, self.server_pass)], nickname, nickname, connect_factory=factory)