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