summaryrefslogtreecommitdiff
path: root/controller/PostgreSQL.cpp
diff options
context:
space:
mode:
authorGrant Limberg <[email protected]>2023-08-04 15:14:40 -0700
committerGrant Limberg <[email protected]>2023-08-04 15:14:40 -0700
commita9c8307d970e360f66820b46cea49aa82b0bc866 (patch)
tree2f7c405fe39a73d5aaa27f42311137f9895f1b24 /controller/PostgreSQL.cpp
parent581489f67b30a14f338ea4430e8efa1d795c2162 (diff)
should only run this if smee is configured
Diffstat (limited to 'controller/PostgreSQL.cpp')
-rw-r--r--controller/PostgreSQL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp
index d6768236..39d647fd 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,