Changed num to stats.

This commit is contained in:
Jeremy Fincher 2004-01-18 08:19:44 +00:00
parent 9f2013d8f0
commit eb217d82ae
3 changed files with 3 additions and 3 deletions

View File

@ -237,7 +237,7 @@ class FunDB(callbacks.Privmsg, configurable.Mixin, plugins.ChannelDBHandler):
db.commit()
irc.replySuccess()
def num(self, irc, msg, args):
def stats(self, irc, msg, args):
"""[<channel>] <lart|excuse|insult|praise>
Returns the number of records, of the type specified, currently in

View File

@ -96,7 +96,7 @@ class Quotes(plugins.ChannelDBHandler, callbacks.Privmsg):
quoteid = cursor.fetchone()[0]
irc.replySuccess('(Quote #%s added)' % quoteid)
def num(self, irc, msg, args):
def stats(self, irc, msg, args):
"""[<channel>]
Returns the numbers of quotes in the quote database for <channel>.

View File

@ -308,7 +308,7 @@ class URL(callbacks.PrivmsgCommandAndRegexp,
irc.errorPossibleBug(s)
tiny = privmsgs.thread(tiny)
def num(self, irc, msg, args):
def stats(self, irc, msg, args):
"""[<channel>]
Returns the number of URLs in the URL database. <channel> is only