diff --git a/modules/commands.py b/modules/commands.py index 9e65a302..524c9ba2 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -9,7 +9,7 @@ COMMAND_METHODS = ["PRIVMSG", "NOTICE"] OUT_CUTOFF = 400 -REGEX_CUTOFF = re.compile("^.{1,%d}(?:\s|$)" % OUT_CUTOFF) +REGEX_CUTOFF = re.compile(r"^.{1,%d}(?:\s|$)" % OUT_CUTOFF) class Out(object): def __init__(self, server, module_name, target, msgid):