aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-09-18 14:11:12 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-09-18 14:11:12 +0000
commitbfa20a9e0d4a6ff124e9526195dde753a28452c8 (patch)
treee28ef92cbf104f5eb56cf7f627ebeea62a574892 /src
parent210804b2729f26131744e403189bff2677d9b5d2 (diff)
downloadmsec-bfa20a9e0d4a6ff124e9526195dde753a28452c8.tar
msec-bfa20a9e0d4a6ff124e9526195dde753a28452c8.tar.gz
msec-bfa20a9e0d4a6ff124e9526195dde753a28452c8.tar.bz2
msec-bfa20a9e0d4a6ff124e9526195dde753a28452c8.tar.xz
msec-bfa20a9e0d4a6ff124e9526195dde753a28452c8.zip
correctly updating plugins data when resetting configuration
Diffstat (limited to 'src')
-rwxr-xr-xsrc/msec/libmsec.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/msec/libmsec.py b/src/msec/libmsec.py
index b60c877..48d6344 100755
--- a/src/msec/libmsec.py
+++ b/src/msec/libmsec.py
@@ -692,6 +692,9 @@ class MSEC:
"""Resets the configuration"""
self.log.debug("Resetting msec data.")
self.configfiles = ConfigFiles(self.log, root=self.root)
+ # updating plugins
+ for plugin in self.plugins:
+ self.plugins[plugin].configfiles = self.configfiles
def get_action(self, name):
"""Determines correspondent function for requested action."""