We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c0a2184 + 05ee2a0 commit 9d05a90Copy full SHA for 9d05a90
1 file changed
plugins/correction.py
@@ -34,7 +34,7 @@ def correction(match, conn, chan, message):
34
mod_msg = find_re.sub("\x02" + replacement + "\x02", msg, count=int("g" not in flags))
35
message("Correction, {}".format(("<{}> " if not is_action else "* {}").format(nick) + mod_msg))
36
# append to end of history file
37
- msg = find_re.sub(replacement, msg, count=int("g not" in flags))
+ msg = find_re.sub(replacement, msg, count=int("g" not in flags))
38
conn.history[chan].append((nick, timestamp, msg))
39
return
40
else:
0 commit comments