IrcAdmin: note limitation with automsg and vhosts

i feel as if i should fix this eventually, but it's pretty low on the
priority list, to be honest
This commit is contained in:
Brian S. Stephan 2012-12-18 20:54:36 -06:00
parent b51b8b521d
commit 8a5e6b9130
2 changed files with 3 additions and 0 deletions

1
TODO
View File

@ -20,3 +20,4 @@ dr.botzo --- TODO
FROM SERVER: ERROR :Closing Link: dr_botzo[ayu.incorporeal.org] (Ping timeout)
command: error, source: None, target: Closing Link: dr_botzo[ayu.incorporeal.org] (Ping timeout), arguments: []
* proper logging via logging
* automsg vhost TODO in IrcAdmin

View File

@ -47,6 +47,8 @@ class IrcAdmin(Module):
except NoOptionError: pass
# run automsg commands
# TODO NOTE: if the bot is sending something that changes the vhost
# (like 'hostserv on') we don't pick it up
try:
automsgs = self.config.get(self.__class__.__name__, 'automsg').split(',')
for command in automsgs: