|
@@ -1,4 +1,4 @@
|
|
|
-# -*- coding: utf-8 -*-
|
|
|
+ -*- coding: utf-8 -*-
|
|
|
from __future__ import print_function
|
|
|
import willie
|
|
|
|
|
@@ -163,6 +163,9 @@ def setup(bot):
|
|
|
def shutdown(bot):
|
|
|
global msgserver, nodeaccess
|
|
|
|
|
|
+ # Print cached message before shutdown, if any
|
|
|
+ bot.ffpb_print_cached_messages ()
|
|
|
+
|
|
|
# store node acl
|
|
|
if not nodeaccess is None:
|
|
|
nodeaccess.sync()
|