mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-14 14:49:21 +01:00
Ctcp: Fix regex for PING
This commit is contained in:
parent
ccc2de5317
commit
a27f62a0aa
@ -78,7 +78,7 @@ class Ctcp(callbacks.PluginRegexp):
|
||||
irc.reply(s, notice=True, private=True, to=msg.nick)
|
||||
|
||||
def ctcpPing(self, irc, msg, match):
|
||||
"\x01PING ?(.*)\x01"
|
||||
"\x01PING(?: (.*))?\x01"
|
||||
self.log.info('Received CTCP PING from %s', msg.prefix)
|
||||
payload = match.group(1)
|
||||
if payload:
|
||||
|
Loading…
Reference in New Issue
Block a user