From 9458d9fee21ac9ed4910d5de65c11c7168d80cbc Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 6 Oct 2018 16:42:38 +0100 Subject: [PATCH] 'control_socket_client' -> '_control_client' in src/IRCBot.py --- src/IRCBot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/IRCBot.py b/src/IRCBot.py index fb8533fc..47fc22eb 100644 --- a/src/IRCBot.py +++ b/src/IRCBot.py @@ -26,12 +26,12 @@ class Bot(object): self.control_socket = ControlSocket.ControlSocket(self) self.add_socket(self.control_socket) - self.control_socket_client = socket.socket( + self._control_sclient = socket.socket( socket.AF_UNIX, socket.SOCK_STREAM) - self.control_socket_client.connect(self.config["control-socket"]) + self._control_client.connect(self.config["control-socket"]) def trigger(self): - self.control_socket_client.send(b"TRIGGER") + self._control_client.send(b"TRIGGER") def add_server(self, server_id, connect=True): (_, alias, hostname, port, password, ipv4, tls, bindhost, nickname,