diff --git a/classes/local/outagelib.php b/classes/local/outagelib.php
index fc470a0..5dcf77d 100644
--- a/classes/local/outagelib.php
+++ b/classes/local/outagelib.php
@@ -323,7 +323,7 @@ EOT;
if (CLI_SCRIPT) {
$message = html_to_text(implode("; ", $message));
} else {
- $message = $OUTPUT->notification(implode("
", $message), 'notifyfailure');
+ $message = $OUTPUT->notification(implode("
", $message), 'notifyerror');
}
return $message;
diff --git a/settings.php b/settings.php
index b15e775..9c3be2c 100644
--- a/settings.php
+++ b/settings.php
@@ -98,7 +98,7 @@ if ($hassiteconfig && is_enabled_auth('outage')) {
$type = 'notifysuccess';
} else {
$message = 'allowedipshasntmyip';
- $type = 'notifyfailure';
+ $type = 'notifyerror';
};
$description .= $OUTPUT->notification(get_string($message, 'auth_outage', ['ip' => getremoteaddr()]), $type);