Set licensekey registry values to private values.

This commit is contained in:
James Vega 2004-02-14 07:17:59 +00:00
parent 2f470b3a3b
commit 23393edd83
2 changed files with 3 additions and 2 deletions

View File

@ -75,7 +75,8 @@ conf.registerChannelValue(conf.supybot.plugins.Amazon, 'bold',
registry.Boolean(True, """Determines whether the results are bolded.""")) registry.Boolean(True, """Determines whether the results are bolded."""))
conf.registerGlobalValue(conf.supybot.plugins.Amazon, 'licenseKey', conf.registerGlobalValue(conf.supybot.plugins.Amazon, 'licenseKey',
LicenseKey('', """Sets the license key for using Amazon Web Services. LicenseKey('', """Sets the license key for using Amazon Web Services.
Must be set before any other commands in the plugin are used.""")) Must be set before any other commands in the plugin are used.""",
private=True))
class Amazon(callbacks.Privmsg): class Amazon(callbacks.Privmsg):
threaded = True threaded = True

View File

@ -152,7 +152,7 @@ conf.registerChannelValue(conf.supybot.plugins.Google, 'maximumResults',
conf.registerGlobalValue(conf.supybot.plugins.Google, 'licenseKey', conf.registerGlobalValue(conf.supybot.plugins.Google, 'licenseKey',
LicenseKey('', """Sets the Google license key for using Google's Web LicenseKey('', """Sets the Google license key for using Google's Web
Services API. This is necessary before you can do any searching with this Services API. This is necessary before you can do any searching with this
module.""")) module.""", private=True))
class Google(callbacks.PrivmsgCommandAndRegexp): class Google(callbacks.PrivmsgCommandAndRegexp):
threaded = True threaded = True