You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The IRCListener class uses .get('servername', 'localhost') to get its ServerName configuration value the first time in order to make the setting optional with the default value 'localhost'; but its ThreadedTCPRequestHandler accesses self.server.config['servername'] directly, resulting in a KeyError that winds up closing connections to the IRC service. Replacing direct references to self.server.config['servername'] with self.server.servername in the ThreadedTCPRequestHandler seems to resolve this and make the ServerName setting truly optional.
The text was updated successfully, but these errors were encountered:
The
IRCListener
class uses.get('servername', 'localhost')
to get itsServerName
configuration value the first time in order to make the setting optional with the default value'localhost'
; but itsThreadedTCPRequestHandler
accessesself.server.config['servername']
directly, resulting in aKeyError
that winds up closing connections to the IRC service. Replacing direct references toself.server.config['servername']
withself.server.servername
in theThreadedTCPRequestHandler
seems to resolve this and make theServerName
setting truly optional.The text was updated successfully, but these errors were encountered: