Procházet zdrojové kódy

should only run this if smee is configured

Grant Limberg před 2 roky
rodič
revize
a9c8307d97
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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,