Fix0r the reference to an old undefined variable.

This commit is contained in:
Jeremy Fincher 2004-10-02 18:20:04 +00:00
parent 1398a1fa47
commit a982fe32fd
1 changed files with 8 additions and 7 deletions

View File

@ -464,13 +464,14 @@ registerChannelValue(supybot.replies, 'genericNoCapability',
This could be because you actually possess the anti-capability for the This could be because you actually possess the anti-capability for the
capability that's required of you, or because the channel provides that capability that's required of you, or because the channel provides that
anti-capability by default, or because the global capabilities include anti-capability by default, or because the global capabilities include
that anti-capability. Or, it could be because the channel or the global that anti-capability. Or, it could be because the channel or
defaultAllow is set to False, meaning that no commands are allowed unless supybot.capabilities.default is set to False, meaning that no commands are
explicitly in your capabilities. Either way, you can't do what you want allowed unless explicitly in your capabilities. Either way, you can't do
to do.""", """Determines what generic error message is given when the bot what you want to do.""",
is telling someone that they aren't cool enough to use the command they """Determines what generic error message is given when the bot is telling
tried to use, and the author of the code calling errorNoCapability didn't someone that they aren't cool enough to use the command they tried to use,
provide an explicit capability for whatever reason.""")) and the author of the code calling errorNoCapability didn't provide an
explicit capability for whatever reason."""))
registerChannelValue(supybot.replies, 'requiresPrivacy', registerChannelValue(supybot.replies, 'requiresPrivacy',
registry.NormalizedString("""That operation cannot be done in a registry.NormalizedString("""That operation cannot be done in a