Skip to content

Commit 9d05a90

Browse files
committed
Merge pull request #60 from PangeaCake/patch-1
Erm... is this a typo?
2 parents c0a2184 + 05ee2a0 commit 9d05a90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/correction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def correction(match, conn, chan, message):
3434
mod_msg = find_re.sub("\x02" + replacement + "\x02", msg, count=int("g" not in flags))
3535
message("Correction, {}".format(("<{}> " if not is_action else "* {}").format(nick) + mod_msg))
3636
# append to end of history file
37-
msg = find_re.sub(replacement, msg, count=int("g not" in flags))
37+
msg = find_re.sub(replacement, msg, count=int("g" not in flags))
3838
conn.history[chan].append((nick, timestamp, msg))
3939
return
4040
else:

0 commit comments

Comments
 (0)