Parcourir la source

should only run this if smee is configured

Grant Limberg il y a 2 ans
Parent
commit
a9c8307d97
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      controller/PostgreSQL.cpp

+ 1 - 1
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,