refer to the actual list variable when looking up meta.pubmsg_needs_bot_prefix
This commit is contained in:
parent
e13264fc3b
commit
4712e69336
@ -233,7 +233,7 @@ class Module(object):
|
|||||||
# if this option has been provided, don't print it
|
# if this option has been provided, don't print it
|
||||||
try:
|
try:
|
||||||
self.config.get(self.__class__.__name__, 'meta.pubmsg_needs_bot_prefix')
|
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
|
except NoOptionError: pass
|
||||||
|
|
||||||
def do(self, connection, event, nick, userhost, replypath, what, admin_unlocked):
|
def do(self, connection, event, nick, userhost, replypath, what, admin_unlocked):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user