Properly naming registry variables is good.

This commit is contained in:
James Vega 2005-01-08 06:41:59 +00:00
parent d031997999
commit ec91c6d7d9
1 changed files with 2 additions and 2 deletions

View File

@ -755,7 +755,7 @@ class Infobot(callbacks.PrivmsgCommandAndRegexp):
if self.db.hasIs(dynamic.channel, key):
oldValue = self.db.getIs(dynamic.channel, key)
if oldValue.lower() == value.lower() and \
self.registryValue('unaddress.replyExistingValue',
self.registryValue('unaddress.replyExistingFactoid',
dynamic.channel):
self.reply('I already had it that way, %s.' % msg.nick)
return
@ -778,7 +778,7 @@ class Infobot(callbacks.PrivmsgCommandAndRegexp):
if self.db.hasAre(dynamic.channel, key):
oldValue = self.db.getAre(dynamic.channel, key)
if oldValue.lower() == value.lower() and \
self.registryValue('unaddressed.replyExistingValue',
self.registryValue('unaddressed.replyExistingFactoid',
dynamic.channel):
self.reply('I already had it that way, %s.' % msg.nick)
return