diff --git a/file/acp/be.bastelstu.chat.nodePush/lib/server.litcoffee b/file/acp/be.bastelstu.chat.nodePush/lib/server.litcoffee index 944a417..79c2b5f 100644 --- a/file/acp/be.bastelstu.chat.nodePush/lib/server.litcoffee +++ b/file/acp/be.bastelstu.chat.nodePush/lib/server.litcoffee @@ -27,6 +27,11 @@ Prepare environment log = (message) -> console.log "[be.bastelstu.chat.nodePush] #{message}" + + # Ensure our namespace is present + be = be ? {} + be.bastelstu ?= {} + be.bastelstu.chat ?= {} be.bastelstu.chat.nodePush ==========================