Skip to content

Commit 32c9c3a

Browse files
committed
Drop duplicate flag in regex.
1 parent 80e58be commit 32c9c3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

irc3/plugins/asynchronious.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class Whois(AsyncEvents):
7777
# (?i) is for IGNORECASE. This will match either NicK or nick
7878
{'match': r"(?i)^:\S+ 301 \S+ {nick} :(?P<away>.*)"},
7979
{'match': r"(?i)^:\S+ 311 \S+ {nick} (?P<username>\S+) "
80-
r"(?P<host>\S+) . :(?P<realname>.*)(?i)"},
80+
r"(?P<host>\S+) . :(?P<realname>.*)"},
8181
{'match': r"(?i)^:\S+ 312 \S+ {nick} (?P<server>\S+) "
8282
r":(?P<server_desc>.*)"},
8383
{'match': r"(?i)^:\S+ 317 \S+ {nick} (?P<idle>[0-9]+).*"},

0 commit comments

Comments
 (0)