Skip to content

Commit ce12e72

Browse files
committed
Make sure only the original user can correct themselves
1 parent 6d6f4a7 commit ce12e72

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
@@ -36,7 +36,7 @@ def correction(match, conn, nick, chan, message):
3636
message("Correction, <{}> {}".format(name, mod_msg))
3737

3838
msg = ireplace(msg, find, replace)
39-
if nick.lower() in name.lower():
39+
if nick.lower() == name.lower():
4040
conn.history[chan].append((name, timestamp, msg))
4141
return
4242
else:

0 commit comments

Comments
 (0)