Skip to content
Snippets Groups Projects
Commit 7033854f authored by Maximilian Wilhelm's avatar Maximilian Wilhelm
Browse files

#IchBinEinDummerJunge

parent 1933ac23
No related branches found
No related tags found
No related merge requests found
......@@ -164,7 +164,7 @@ def shutdown(bot):
global msgserver, nodeaccess
# Print cached message before shutdown, if any
bot.ffpb_print_cached_messages ()
ffpb_print_cached_messages (bot)
# store node acl
if not nodeaccess is None:
......@@ -587,7 +587,7 @@ def ffpb_updatepeers(bot):
def ffpb_print_cached_messages (bot):
for msg, m_info in msg_cache.items ():
if time.time () - m_info['time'] > msg_cache_time:
sender = bot._ffpb_aggregate_node_ids (m_info['nodes'])
sender = _ffpb_aggregate_node_ids (bot, m_info['nodes'])
bot.msg (bot.config.ffpb.msg_target, "[{0}] {1}".format (sender, msg))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment