mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
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) {
|
for (auto& perFilter : m_Inboxes) {
|
||||||
if (perFilter.first) {
|
if (perFilter.first) {
|
||||||
ScriptFrame frame(true);
|
ScriptFrame frame(true, new Namespace());
|
||||||
frame.Sandboxed = true;
|
frame.Sandboxed = true;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user