Skip to content

Commit ac432eb

Browse files
committed
Fix warnings about character class in herald.py
1 parent 1d658f6 commit ac432eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/herald.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def deleteherald(text, chan, db):
7272

7373
@hook.irc_raw("JOIN", singlethread=True)
7474
def welcome(nick, message, db, bot, chan):
75-
decoy = re.compile('[o○O0öøóóȯôőŏᴏōο](<|>|<)')
75+
decoy = re.compile('[Òo○O0öøóȯôőŏᴏōο][<><]')
7676
colors_re = re.compile("\x02|\x03(?:\d{1,2}(?:,\d{1,2})?)?", re.UNICODE)
7777
bino_re = re.compile('b+i+n+o+', re.IGNORECASE)
7878
offensive_re = re.compile('卐')

0 commit comments

Comments
 (0)