summaryrefslogtreecommitdiff
path: root/server/src/server.cc
diff options
context:
space:
mode:
authordeva <deva>2009-01-13 10:01:52 +0000
committerdeva <deva>2009-01-13 10:01:52 +0000
commitf2710089a722fc55970813fab2d27ae3e23a9c97 (patch)
treec17c89cd0e3a3fc72abf6e21a9293c16703b0db4 /server/src/server.cc
parenta58622afba64661df051ee6454cb62643936356f (diff)
Added a 'language' tag in resume, to be able to switch parser. Implemented the lua resume parser.
Diffstat (limited to 'server/src/server.cc')
-rw-r--r--server/src/server.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/server.cc b/server/src/server.cc
index 763964e..01e9398 100644
--- a/server/src/server.cc
+++ b/server/src/server.cc
@@ -94,7 +94,7 @@ static std::string handleTransaction(Transaction *transaction,
db->commit(transaction->user, transaction->cpr, *macro, commit.fields);
- std::string resume = resume_parser(macro->resume.attributes["format"].c_str(), commit);
+ std::string resume = resume_parser(macro->resume, commit);
bool store_in_journal = true;
// We always need to store in journal!