diff --git a/ActivitySpamPlugin.php b/ActivitySpamPlugin.php index faf2ad0ca5..f68d2ad605 100644 --- a/ActivitySpamPlugin.php +++ b/ActivitySpamPlugin.php @@ -174,8 +174,8 @@ class ActivitySpamPlugin extends Plugin function onStartShowNoticeOptions($nli) { - $notice = $nli->notice; - $out = $nli->out; + $notice = $nli->getNotice(); + $out = $nli->getOut(); if (!empty($notice)) {