Implemented event group functionality. Fixes #NX-1102
[public/netxms.git] / src / server / core / syslogd.cpp
index dc63d38..97ecc9a 100644 (file)
@@ -565,7 +565,7 @@ static void SyslogParserCallback(UINT32 eventCode, const TCHAR *eventName, const
 static bool EventNameResolver(const TCHAR *name, UINT32 *code)
 {
        bool success = false;
-       EventTemplate *event = FindEventTemplateByName(name);
+       EventObject *event = FindEventObjectByName(name);
        if (event != NULL)
        {
                *code = event->getCode();