We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47b54c8 commit 5b6d00eCopy full SHA for 5b6d00e
1 file changed
nxc/connection.py
@@ -292,6 +292,10 @@ def call_modules(self):
292
self.logger.debug(f"Module {module.name} has on_admin_login method")
293
module.on_admin_login(context, self)
294
295
+ if hasattr(module, "on_shutdown"):
296
+ self.logger.debug(f"Module {module.name} has on_shutdown method")
297
+ module.on_shutdown(context, self)
298
+
299
def inc_failed_login(self, username):
300
global global_failed_logins
301
global user_failed_logins
0 commit comments