Skip to content

Commit

Permalink
Fix warnings about character class in herald.py
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdaemon committed Dec 13, 2017
1 parent 1d658f6 commit ac432eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/herald.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def deleteherald(text, chan, db):

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

0 comments on commit ac432eb

Please sign in to comment.