summaryrefslogtreecommitdiff
path: root/server/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'server/server.cpp')
-rw-r--r--server/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.cpp b/server/server.cpp
index 6037038..7197020 100644
--- a/server/server.cpp
+++ b/server/server.cpp
@@ -147,6 +147,6 @@ void Server::loadRuleSet(const std::string &name)
RuleSetLoader loader;
AbstractRuleSet::RuleList list = loader.load(name);
for (auto &r : list) {
- ruleApplyEngine.addRule(*audit, r.data());
+ ruleApplyEngine.addRule(*audit, r);
}
}