mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Forgot stupid args to privmsgs.getArgs()
This commit is contained in:
parent
9ad27d4230
commit
a55386af5f
@ -163,7 +163,7 @@ class MiscCommands(callbacks.Privmsg):
|
||||
Returns the size of the various logfiles in use. If given a specific
|
||||
logfile, returns only the size of that logfile.
|
||||
"""
|
||||
filename = privmsgs.getArgs(needed=0, optional=1)
|
||||
filename = privmsgs.getArgs(args, needed=0, optional=1)
|
||||
if filename:
|
||||
if not file.endswith('.log'):
|
||||
irc.error(msg, 'That filename doesn\'t appear to be a log.')
|
||||
|
Loading…
Reference in New Issue
Block a user