mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +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)
|
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]
|
||||||
|
Loading…
Reference in New Issue
Block a user