mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
Added docstring and guard for lasturls.
This commit is contained in:
parent
736d46cff3
commit
e623d2e4b6
@ -193,7 +193,13 @@ class URLSnarfer(callbacks.Privmsg, ChannelDBHandler):
|
||||
(count, int(count) == 1 and 'URL' or 'URLs'))
|
||||
|
||||
def lasturls(self, irc, msg, args):
|
||||
args.append('--nolimit')
|
||||
"""[<channel>] [--{from,with,at,proto,near}=<value>]
|
||||
|
||||
Uses arguments in the same way as lasturl; acts as if lasturl was given
|
||||
the --nolimit option.
|
||||
"""
|
||||
if '--nolimit' not in args:
|
||||
args.append('--nolimit')
|
||||
self.lasturl(irc, msg, args)
|
||||
|
||||
def lasturl(self, irc, msg, args):
|
||||
|
Loading…
Reference in New Issue
Block a user