summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--inc/event.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/event.inc.php b/inc/event.inc.php
index 01a148b0..dee435a8 100644
--- a/inc/event.inc.php
+++ b/inc/event.inc.php
@@ -88,7 +88,9 @@ class Event
error_log('Server ip changed');
global $tidIpxe;
$tidIpxe = Trigger::ipxe();
- ConfigModule::serverIpChanged();
+ if (Module::isAvailable('sysconfig')) { // TODO: Modularize events
+ ConfigModule::serverIpChanged();
+ }
}
/**