From 71cec26d58f010554b70ff67b9bb207b3e2c50fb Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 14 Apr 2003 14:55:28 +0000 Subject: [PATCH] Stupid variable name. --- src/MiscCommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MiscCommands.py b/src/MiscCommands.py index 76db51b3f..e561ac634 100755 --- a/src/MiscCommands.py +++ b/src/MiscCommands.py @@ -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]