From a9c8307d970e360f66820b46cea49aa82b0bc866 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Fri, 4 Aug 2023 15:14:40 -0700 Subject: [PATCH] should only run this if smee is configured --- controller/PostgreSQL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp index d6768236c..39d647fd5 100644 --- a/controller/PostgreSQL.cpp +++ b/controller/PostgreSQL.cpp @@ -1424,7 +1424,7 @@ void PostgreSQL::commitThread() w.commit(); - if (isNewMember) { + if (_smee != NULL && isNewMember) { // TODO: Look up hook URL for network owner organization smeeclient::smee_client_notify_network_joined( _smee,