mirror of https://github.com/Shizmob/pydle.git
Properly parse PONG response.
This commit is contained in:
parent
bf2781a10b
commit
4fab60ffa1
|
@ -547,7 +547,7 @@ class RFC1459Support(BasicClient):
|
|||
|
||||
def on_raw_pong(self, message):
|
||||
""" PING response. """
|
||||
identifier = message.params[0]
|
||||
identifier = message.params[-1]
|
||||
self._on_pong_received(identifier)
|
||||
|
||||
def on_raw_privmsg(self, message):
|
||||
|
|
Loading…
Reference in New Issue