# Should the top op fixes be able to alert the top 10 ops who are not in
# the channel at the time of the fix automatically? If no/false then the
# database help entry for REQUESTOP will need to be updated.
-allowTopOpAlert = true
+# 2022-05-15: Setting no longer active. Even if this setting is set to false,
+# top ops will be notified by default.
+#allowTopOpAlert = true
# How much percentage within the top score should the top ops score be
# before they are allowed to perform fixes. Dont include a %.
StringTokenizer st(Message);
bool override = false;
-bool alert = false;
+bool alert = true;
if (st.size() > 2) {
unsigned int pos = 2;
if (!strcasecmp(st[pos],"!"))
override = true;
- if (!strcasecmp(st[pos],"CONTACT"))
- alert = true;
-
pos++;
}
}
bool isRequesterScoreHighEnough = false;
int pScore, requesterScore = 0;
-bool alert = false;
+bool alert = true;
bool inChan = false;
sqlChanOp* curOp = 0;
0
));
RegisterCommand(new CHANFIXCommand(this, "CHANFIX",
- "<#channel> [override] [contact]",
+ "<#channel> [override]",
2,
0 /* Set to 0 to allow all opers to access it, otherwise this should be sqlcfUser::F_CHANFIX */
));
sqlcfUser::F_OWNER
));
RegisterCommand(new REQUESTOPCommand(this, "REQUESTOP",
- isAllowingTopOpAlert() ? "<#channel> [contact]" : "<#channel>",
+ "<#channel>",
2,
0
));
stopAutoFixOnOp = atob(chanfixConfig->Require("stopAutoFixOnOp")->second) ;
stopChanFixOnOp = atob(chanfixConfig->Require("stopChanFixOnOp")->second) ;
allowTopOpFix = atob(chanfixConfig->Require("allowTopOpFix")->second) ;
-allowTopOpAlert = atob(chanfixConfig->Require("allowTopOpAlert")->second) ;
topOpPercent = atoi((chanfixConfig->Require("topOpPercent")->second).c_str()) ;
minFixScore = atoi((chanfixConfig->Require("minFixScore")->second).c_str()) ;
minCanFixScore = atoi((chanfixConfig->Require("minCanFixScore")->second).c_str()) ;
# Should the top op fixes be able to alert the top 10 ops who are not in
# the channel at the time of the fix automatically? If no/false then the
# database help entry for REQUESTOP will need to be updated.
-allowTopOpAlert = true
+# 2022-05-15: Setting no longer active. Even if this setting is set to false,
+# top ops will be notified by default.
+#allowTopOpAlert = true
# How much percentage within the top score should the top ops score be
# before they are allowed to perform fixes. Dont include a %.
bool stopAutoFixOnOp;
bool stopChanFixOnOp;
bool allowTopOpFix;
- bool allowTopOpAlert;
int topOpPercent;
int minFixScore;
int minCanFixScore;
bool isChanServLinked() { return chanServLinked; }
bool isUpdateRunning() { return updateInProgress; }
bool isAllowingTopFix() { return allowTopOpFix; }
- bool isAllowingTopOpAlert() { return allowTopOpAlert; }
unsigned int getTopOpPercent() { return topOpPercent; }
unsigned int getMinFixScore() { return minFixScore; }
unsigned int getMinCanFixScore() { return minCanFixScore; }
CANFIX 1 Lists the ops that can fix the specified channel without requiring oper assistance.
CHECK 1 Shows the number of ops and total clients in the specified channel.
CSCORE 1 Shows the same as SCORE, but in a compact output. See /msg C HELP SCORE.
-CHANFIX 1 Performs a manual fix on the specified channel. Append OVERRIDE, YES, or an exclamation mark (!) to force a manual fix. Append CONTACT if you wish that the top 10 ops for the channel be noticed about the fix before the fix happens.
+CHANFIX 1 Performs a manual fix on the specified channel. Append OVERRIDE, YES, or an exclamation mark (!) to force a manual fix.
DELFLAG 1 Removes the specified flag from a user. See /msg C HELP ADDFLAG.
DELHOST 1 Deletes the specified hostmask from a user's list of hostmasks.
DELNOTE 1 Deletes a note matching the specified id from the specified channel. You can only delete the notes you have added.
OPNICKS 1 Shows the nicknames currently opped on the specified channel.
REHASH 1 Reloads the translations, configuration, or help values based on the specified target.
RELOAD 1 Completely reloads chanfix.\nNOTE: This will subject chanfix to a reconnection which will also include a large netburst that takes time to process, so use with caution.
-REQUESTOP 1 Performs a fix on the specified channel. Append CONTACT if you wish that the top 10 ops for the channel be noticed about the fix before the fix happens.
+REQUESTOP 1 Performs a fix on the specified channel.
SCORE 1 Without extra arguments, shows the top scores of <channel>.\nOtherwise, it shows the score of either an <account> or a currently online client <=nick> for <channel>.
SET 1 Sets various configuration options to the specified values.\nBoolean settings: ENABLE_AUTOFIX, ENABLE_CHANFIX, ENABLE_CHANNEL_BLOCKING.\nInteger settings: NUM_SERVERS.
SIMULATE 1 Performs a simulated fix on the specified channel. Append AUTO or MANUAL to choose what type of fix to simulate upon the channel.