]> jfr.im git - irc/UndernetIRC/gnuworld.git/commitdiff
chanfix: REQUESTOP no longer forbidden if channel is ALERTED.
authorHidden <redacted>
Sun, 12 Mar 2023 18:22:42 +0000 (14:22 -0400)
committerHidden <redacted>
Sun, 12 Mar 2023 18:33:44 +0000 (14:33 -0400)
Fails only if channel is blocked.

mod.openchanfix/REQUESTOPCommand.cc

index 9084a046f23000a5e1c2587e939ce657292997cd..53773b1449eef50af048ac0ddca027f5baee0a3b 100644 (file)
@@ -248,9 +248,8 @@ if (bot->isBeingAutoFixed(netChan)) {
   return;
 }
 
-/* Don't fix a blocked or alerted channel. */
-if ((bot->isTempBlocked(theChan->getChannel())) || (theChan->getFlag(sqlChannel::F_BLOCKED)) || 
-    (theChan->getFlag(sqlChannel::F_ALERT))) {
+/* Don't fix a blocked channel. */
+if ((bot->isTempBlocked(theChan->getChannel())) || (theChan->getFlag(sqlChannel::F_BLOCKED))) {
   bot->SendTo(theClient,
               bot->getResponse(theUser,
                               language::channel_blocked_non_oper,