diff options
author | deva <deva> | 2009-01-13 10:01:52 +0000 |
---|---|---|
committer | deva <deva> | 2009-01-13 10:01:52 +0000 |
commit | f2710089a722fc55970813fab2d27ae3e23a9c97 (patch) | |
tree | c17c89cd0e3a3fc72abf6e21a9293c16703b0db4 /server/src/server.cc | |
parent | a58622afba64661df051ee6454cb62643936356f (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.cc | 2 |
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! |