mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 04:32:36 +01:00
ChannelLogger & Format & Karma & Owner & Reply & Status & URL & Unix: Fix typoes.
This commit is contained in:
parent
f3b6b182aa
commit
6e5350def6
@ -86,7 +86,7 @@ conf.registerGlobalValue(ChannelLogger.directories, 'timestamp',
|
||||
if using directories.""")))
|
||||
conf.registerGlobalValue(ChannelLogger.directories.timestamp, 'format',
|
||||
registry.String('%B', _("""Determines what timestamp format will be used in
|
||||
the directory stucture for channel logs if
|
||||
the directory structure for channel logs if
|
||||
supybot.plugins.ChannelLogger.directories.timestamp is True.""")))
|
||||
|
||||
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
|
||||
|
@ -147,7 +147,7 @@ class Format(callbacks.Plugin):
|
||||
def repr(self, irc, msg, args, text):
|
||||
"""<text>
|
||||
|
||||
Returns the text surrounded by double quotes.
|
||||
Returns <text> surrounded by double quotes.
|
||||
"""
|
||||
irc.reply(utils.str.dqrepr(text))
|
||||
repr = wrap(repr, ['text'])
|
||||
|
@ -53,7 +53,7 @@ conf.registerChannelValue(conf.supybot.plugins.Karma, 'rankingDisplay',
|
||||
are shown when karma is called with no arguments.""")))
|
||||
conf.registerChannelValue(conf.supybot.plugins.Karma, 'mostDisplay',
|
||||
registry.Integer(25, _("""Determines how many karma things are shown when
|
||||
the most command is called.'""")))
|
||||
the most command is called.""")))
|
||||
conf.registerChannelValue(conf.supybot.plugins.Karma, 'allowSelfRating',
|
||||
registry.Boolean(False, _("""Determines whether users can adjust the karma
|
||||
of their nick.""")))
|
||||
|
@ -378,7 +378,7 @@ class Owner(callbacks.Plugin):
|
||||
Runs the standard upkeep stuff (flushes and gc.collects()). If given
|
||||
a level, runs that level of upkeep (currently, the only supported
|
||||
level is "high", which causes the bot to flush a lot of caches as well
|
||||
as do normal upkeep stuff.
|
||||
as do normal upkeep stuff).
|
||||
"""
|
||||
L = []
|
||||
if level == 'high':
|
||||
|
@ -52,7 +52,7 @@ class Reply(callbacks.Plugin):
|
||||
def action(self, irc, msg, args, text):
|
||||
"""<text>
|
||||
|
||||
Replies with <text> as an action. use nested commands to your benefit
|
||||
Replies with <text> as an action. Use nested commands to your benefit
|
||||
here.
|
||||
"""
|
||||
if text:
|
||||
|
@ -130,7 +130,7 @@ class Status(callbacks.Plugin):
|
||||
user+system < timeRunning+1: # Fudge for FPU inaccuracies.
|
||||
children = _('My children have taken %.2f seconds of user time '
|
||||
'and %.2f seconds of system time '
|
||||
'for a total of %.2f seconds of CPU time. ') % \
|
||||
'for a total of %.2f seconds of CPU time.') % \
|
||||
(childUser, childSystem, childUser+childSystem)
|
||||
else:
|
||||
children = ''
|
||||
|
@ -103,8 +103,8 @@ class URL(callbacks.Plugin):
|
||||
Gives the last URL matching the given criteria. --from is from whom
|
||||
the URL came; --proto is the protocol the URL used; --with is something
|
||||
inside the URL; --without is something that should not be in the URL;
|
||||
--near is something in the same message as the URL; If --nolimit is
|
||||
given, returns all the URLs that are found. to just the URL.
|
||||
--near is something in the same message as the URL. If --nolimit is
|
||||
given, returns all the URLs that are found to just the URL.
|
||||
<channel> is only necessary if the message isn't sent in the channel
|
||||
itself.
|
||||
"""
|
||||
|
@ -113,7 +113,7 @@ class Unix(callbacks.Plugin):
|
||||
def crypt(self, irc, msg, args, password, salt):
|
||||
"""<password> [<salt>]
|
||||
|
||||
Returns the resulting of doing a crypt() on <password> If <salt> is
|
||||
Returns the resulting of doing a crypt() on <password>. If <salt> is
|
||||
not given, uses a random salt. If running on a glibc2 system,
|
||||
prepending '$1$' to your salt will cause crypt to return an MD5sum
|
||||
based crypt rather than the standard DES based crypt.
|
||||
|
@ -1,3 +1,3 @@
|
||||
"""stick the various versioning attributes in here, so we only have to change
|
||||
them once."""
|
||||
version = '0.83.4.1+limnoria (2011-08-07T12:04:31+0200)'
|
||||
version = '0.83.4.1+limnoria (2011-08-10T11:26:47+0200)'
|
||||
|
Loading…
Reference in New Issue
Block a user