mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Stupid variable name.
This commit is contained in:
parent
a55386af5f
commit
71cec26d58
@ -165,7 +165,7 @@ class MiscCommands(callbacks.Privmsg):
|
||||
"""
|
||||
filename = privmsgs.getArgs(args, needed=0, optional=1)
|
||||
if filename:
|
||||
if not file.endswith('.log'):
|
||||
if not filename.endswith('.log'):
|
||||
irc.error(msg, 'That filename doesn\'t appear to be a log.')
|
||||
return
|
||||
filenames = [filename]
|
||||
|
Loading…
Reference in New Issue
Block a user