Update __init__.py
This commit is contained in:
parent
aafd3e552d
commit
dba9c40231
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Add table
Reference in a new issue