Skip to content
This repository was archived by the owner on Feb 21, 2018. It is now read-only.

Commit 93402d5

Browse files
committed
protocol/inspircd: Fix PING/PONG
1 parent a9dbe57 commit 93402d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/protocol/inspircd.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,5 +319,7 @@ def handlePING(cod, line):
319319
the connection it came from. Don't ask why, just do.
320320
"""
321321

322-
cod.sendLine(":%s PONG %s %s" % (cod.sid, line.source, cod.sid))
322+
args = (line.args[-1], line.args[-2])
323+
324+
cod.sendLine(":%s PONG %s %s" % (cod.sid, args[0], args[1]))
323325

0 commit comments

Comments
 (0)