Added docstring and guard for lasturls.

This commit is contained in:
Jeremy Fincher 2003-08-30 02:40:03 +00:00
parent 736d46cff3
commit e623d2e4b6

View File

@ -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):