Skip to content

Commit

Permalink
Small typos and doc fixes.
Browse files Browse the repository at this point in the history
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
  • Loading branch information
xhairball authored and jamessan committed Nov 5, 2009
1 parent a453f56 commit a594d0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/CONFIGURATION
Expand Up @@ -87,7 +87,7 @@ this::
bots snarfing the same URLs and having the snarfed URL in
the output of the snarf message. (Current value: 10.0)

Pretty simply, eh?
Pretty simple, eh?

Now if you're curious what the current value of a configuration variable
is, you'll use the ``config`` command with one argument, the name of the
Expand Down
2 changes: 1 addition & 1 deletion docs/PLUGIN_TUTORIAL
Expand Up @@ -287,7 +287,7 @@ random number from our RNG and takes no arguments. Here's what that looks like:
Returns the next random number from the random number generator.
"""
irc.reply(str(self.rng.random()))
random = wrap(random)
random = wrap(random)

And that's it. Now here are the important points.

Expand Down
2 changes: 1 addition & 1 deletion plugins/Nickometer/plugin.py
Expand Up @@ -217,7 +217,7 @@ def nickometer(self, irc, msg, args, nick):
percentage = 100 * (1 + math.tanh((score - 400.0) / 400.0)) * \
(1 - 1 / (1 + score / 5.0)) / 2

# if it's above 99.9%, show as many digits as is insteresting
# if it's above 99.9%, show as many digits as is interesting
score_string=re.sub('(99\\.9*\\d|\\.\\d).*','\\1',`percentage`)

irc.reply('The "lame nick-o-meter" reading for "%s" is %s%%.' %
Expand Down

0 comments on commit a594d0e

Please sign in to comment.