diff options
Diffstat (limited to 'server/src/templatelist.cc')
-rw-r--r-- | server/src/templatelist.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/templatelist.cc b/server/src/templatelist.cc index af03586..c7a951c 100644 --- a/server/src/templatelist.cc +++ b/server/src/templatelist.cc @@ -40,11 +40,11 @@ TemplateList::TemplateList(std::string path) void TemplateList::addFile(std::string file) { if(file.substr(file.size() - 4) != ".xml") { - PRACRO_DEBUG(templatelist, "Skipping file: %s\n", file.c_str()); + DEBUG(templatelist, "Skipping file: %s\n", file.c_str()); return; } - PRACRO_DEBUG(templatelist, "Adding file: %s\n", file.c_str()); + DEBUG(templatelist, "Adding file: %s\n", file.c_str()); TemplateHeaderParser parser(file); try { parser.parse(); @@ -53,7 +53,7 @@ void TemplateList::addFile(std::string file) templ->attributes["version"], file); } catch(Exception &e) { - PRACRO_WARN(templatelist, "Skipping %s: %s\n", file.c_str(), e.what()); + WARN(templatelist, "Skipping %s: %s\n", file.c_str(), e.what()); } } |