refer to the actual list variable when looking up meta.pubmsg_needs_bot_prefix

This commit is contained in:
Brian S. Stephan 2010-08-01 12:19:15 -05:00
parent e13264fc3b
commit 4712e69336
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ class Module(object):
# if this option has been provided, don't print it
try:
self.config.get(self.__class__.__name__, 'meta.pubmsg_needs_bot_prefix')
cdlist.remove('meta.pubmsg_needs_bot_prefix')
list.remove('meta.pubmsg_needs_bot_prefix')
except NoOptionError: pass
def do(self, connection, event, nick, userhost, replypath, what, admin_unlocked):