Can pass data from message reception to message response
This commit is contained in:
parent
e881fc8ba5
commit
30da270557
3 changed files with 6 additions and 6 deletions
|
|
@ -110,7 +110,7 @@ class Server(threading.Thread):
|
|||
def send_pong(self, cnt):
|
||||
self.s.send(("PONG %s\r\n" % cnt).encode ())
|
||||
|
||||
def send_response(self, res):
|
||||
def send_response(self, res, origin):
|
||||
if res.channel is not None and res.channel != self.nick:
|
||||
self.send_msg(res.channel, res.get_message())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue