more accurate reply to PONG

This commit is contained in:
~d6 2024-01-23 11:02:21 -05:00
parent 224acb4461
commit 1bdc4ec719
1 changed files with 1 additions and 3 deletions

View File

@ -46,13 +46,11 @@ def evaluate(msg):
return result
while True:
#text = irc.recv(2040)
#print(text)
text = recv()
m = ping_re.match(text)
if m:
send(b'PONG %s' % m.group(1))
send(b'PONG %s' % m.group(1).strip())
continue
m = chan_msg_re.match(text)