diff options
-rw-r--r-- | plugins/NewStory/src/templates.cpp | 2 |
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) |