summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/templates.cpp
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2020-04-04 15:37:08 +0300
committerMataes <mataes2007@gmail.com>2020-04-04 15:37:08 +0300
commita8690c2362debb011405e0051b050c3c7281e8a8 (patch)
treea06ca4998974ae11bc7b996d1a2071af99aae49a /plugins/NewStory/src/templates.cpp
parent5fc4e483a326e60c4410049c3e667edaa5650757 (diff)
Newstory: compilation fix
Diffstat (limited to 'plugins/NewStory/src/templates.cpp')
-rw-r--r--plugins/NewStory/src/templates.cpp2
1 files changed, 1 insertions, 1 deletions
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)