IRC: allow empty host as ZNC seems to send empty one sometimes
This commit is contained in:
parent
806ff1d4a0
commit
06bc0a7693
@ -274,7 +274,7 @@ mgx = re.compile(b'''^(?:@(?P<tags>[^ ]+)\ )?
|
|||||||
(?::(?P<prefix>
|
(?::(?P<prefix>
|
||||||
(?P<nick>[^!@ ]+)
|
(?P<nick>[^!@ ]+)
|
||||||
(?: !(?P<user>[^@ ]+))?
|
(?: !(?P<user>[^@ ]+))?
|
||||||
(?:@(?P<host>[^ ]+))?
|
(?:@(?P<host>[^ ]*))?
|
||||||
)\ )?
|
)\ )?
|
||||||
(?P<command>(?:[a-zA-Z]+|[0-9]{3}))
|
(?P<command>(?:[a-zA-Z]+|[0-9]{3}))
|
||||||
(?P<params>(?:\ [^:][^ ]*)*)(?:\ :(?P<trailing>.*))?
|
(?P<params>(?:\ [^:][^ ]*)*)(?:\ :(?P<trailing>.*))?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user