Update __init__.py
This commit is contained in:
parent
363ca21c48
commit
aafd3e552d
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ class IRCSession: # Actual IRC session
|
|||
self.wsocket.send(bytes(content,"UTF-8"))
|
||||
else:
|
||||
self.socket.send(bytes(content,"UTF-8"))
|
||||
def quit(self, message:str=f"ScParseIRC v{__version__}"):
|
||||
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.connected = False
|
||||
def join(self, chan):
|
||||
|
|
Loading…
Add table
Reference in a new issue