Update __init__.py

This commit is contained in:
Swee 2024-10-20 10:39:33 -07:00
parent aafd3e552d
commit dba9c40231

View file

@ -61,7 +61,7 @@ class IRCSession: # Actual IRC session
self.wsocket.send(bytes(content,"UTF-8")) self.wsocket.send(bytes(content,"UTF-8"))
else: else:
self.socket.send(bytes(content,"UTF-8")) self.socket.send(bytes(content,"UTF-8"))
def quit(self, message:str="ScParseIRC v" + str(__version__)): # Send the server a signal that the client is about to quit, and rely on the server to close the connection. def quit(self, message:str="ScParseIRC v"+str(__version__)): # Send the server a signal that the client is about to quit, and rely on the server to close the connection.
self.send("QUIT :" + message + "\n") self.send("QUIT :" + message + "\n")
self.connected = False self.connected = False
def join(self, chan): def join(self, chan):