Socket: Add missing self argument to setTimeout.

This commit is contained in:
Valentin Lorentz 2020-05-30 21:54:24 +02:00
parent 2bcdfd069a
commit 277cbb6589

View File

@ -333,7 +333,7 @@ class SocketDriver(drivers.IrcDriver, drivers.ServersMixin):
return
self._instances.append(self)
def setTimeout():
def setTimeout(self):
try:
self.conn.settimeout(conf.supybot.drivers.poll())
except Exception: