mirror of https://github.com/Icinga/icinga2.git
EventsFilter#Push(): ensure not to modify the global namespace
This commit is contained in:
parent
c209cf830b
commit
e86e3cc234
|
@ -263,7 +263,7 @@ void EventsFilter::Push(Dictionary::Ptr event)
|
|||
{
|
||||
for (auto& perFilter : m_Inboxes) {
|
||||
if (perFilter.first) {
|
||||
ScriptFrame frame(true);
|
||||
ScriptFrame frame(true, new Namespace());
|
||||
frame.Sandboxed = true;
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue