diff --git a/allianceauth/services/modules/teamspeak3/util/ts3.py b/allianceauth/services/modules/teamspeak3/util/ts3.py index 5c13f9a6..ead9ea60 100755 --- a/allianceauth/services/modules/teamspeak3/util/ts3.py +++ b/allianceauth/services/modules/teamspeak3/util/ts3.py @@ -36,7 +36,7 @@ class TS3Proto: def connect(self, ip, port): try: - self._conn = telnetlib.Telnet(host=ip, port=port) + self._conn = telnetlib.Telnet(host=ip, port=port, timeout=5) self._connected = True except: # raise ConnectionError(ip, port)