Merge pull request #3045 from JProffitt71/bugfix_issue_3035

fix: NickHandler.nickreplace not to strip raw_input
This commit is contained in:
Griatch 2022-12-23 17:11:39 +01:00 committed by GitHub
commit 0bde1a034b

View file

@ -1737,7 +1737,7 @@ class NickHandler(AttributeHandler):
regex = re.compile(nick_regex, re.I + re.DOTALL + re.U)
self._regex_cache[nick_regex] = regex
is_match, raw_string = parse_nick_template(raw_string.strip(), regex, template)
is_match, raw_string = parse_nick_template(raw_string, regex, template)
if is_match:
break
return raw_string