Skip to content

Commit

Permalink
Remove unused timestamp variable in loop
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdaemon authored Nov 19, 2017
1 parent f6c6bbf commit 21c49cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


def get_latest_line(conn, chan, nick):
for name, timestamp, msg in reversed(conn.history[chan.casefold()]):
for name, _, msg in reversed(conn.history[chan.casefold()]):
if nick.casefold() == name.casefold():
return msg

Expand Down

0 comments on commit 21c49cb

Please sign in to comment.