summaryrefslogtreecommitdiffstats
path: root/src/ogClient.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ogClient.py')
-rw-r--r--src/ogClient.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ogClient.py b/src/ogClient.py
index b148b74..46ab9a2 100644
--- a/src/ogClient.py
+++ b/src/ogClient.py
@@ -119,6 +119,7 @@ class ogClient:
def disconnect(self):
self.state = State.FORCE_DISCONNECTED
+ self.sock.shutdown(socket.SHUT_RDWR)
self.sock.close()
def run(self):