don't disregard matched backslashes before ampersand
This commit is contained in:
parent
9e0934a47e
commit
d0202ff809
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class Module(ModuleManager.BaseModule):
|
|||
if match:
|
||||
replace = sed_split[2]
|
||||
replace = replace.replace("\\/", "/")
|
||||
replace = re.sub(SED_AMPERSAND, match.match, replace)
|
||||
replace = re.sub(SED_AMPERSAND, "\\1%s" % match.match, replace)
|
||||
replace = utils.irc.bold(replace)
|
||||
|
||||
new_message = re.sub(pattern, replace, match.line.message,
|
||||
|
|
Loading…
Reference in a new issue