From a8690c2362debb011405e0051b050c3c7281e8a8 Mon Sep 17 00:00:00 2001 From: Mataes Date: Sat, 4 Apr 2020 15:37:08 +0300 Subject: Newstory: compilation fix --- plugins/NewStory/src/templates.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewStory/src/templates.cpp') diff --git a/plugins/NewStory/src/templates.cpp b/plugins/NewStory/src/templates.cpp index e76d679fea..848f12e208 100644 --- a/plugins/NewStory/src/templates.cpp +++ b/plugins/NewStory/src/templates.cpp @@ -272,7 +272,7 @@ void vfAdded(int, TemplateVars *vars, MCONTACT, HistoryArray::ItemData *item) void vfPresence(int, TemplateVars* vars, MCONTACT, HistoryArray::ItemData* item) { // %M: the message string itself - TplSetVar(vars, 'M', item->getTBuf(), false); + vars->SetVar('M', item->getTBuf(), false); } void vfDeleted(int, TemplateVars *vars, MCONTACT, HistoryArray::ItemData *item) -- cgit v1.2.3