Stupid variable name.

This commit is contained in:
Jeremy Fincher 2003-04-14 14:55:28 +00:00
parent a55386af5f
commit 71cec26d58

View File

@ -165,7 +165,7 @@ class MiscCommands(callbacks.Privmsg):
""" """
filename = privmsgs.getArgs(args, needed=0, optional=1) filename = privmsgs.getArgs(args, needed=0, optional=1)
if filename: if filename:
if not file.endswith('.log'): if not filename.endswith('.log'):
irc.error(msg, 'That filename doesn\'t appear to be a log.') irc.error(msg, 'That filename doesn\'t appear to be a log.')
return return
filenames = [filename] filenames = [filename]