RusselB commented on a Page, Spamfilter dialog  -  Jan 05, 2010

You could check the users modes to ensure that they have sufficient access.

menu * {
  $iif((a isin $usermode) || (C isincs $v2) || (o isin $v2),Spamfilter) : dialog $iif(!$dialog(spam),-ev,-md) spam spam
}

This will 1) prevent someone with the code but without IRCops from even accessing the code.
2) Open the dialog if closed, or restore it if open but minimized

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.