Revert "Ctcp: Fix regex for PING"

This reverts commit a27f62a0aa.

I accidentally pushed this to the wrong branch.
This commit is contained in:
nyuszika7h 2014-03-20 11:55:46 +01:00
parent a27f62a0aa
commit 251f2d742c

View File

@ -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: