fix possible crash on user deletion
[srvx.git] / src / opserv.help
index e41cd3e0e0947370086d6eee976e91710141d991..4b24b3f39744489bf243c879f9dbeee7e2bfd4d8 100644 (file)
 "USER" ("$bUSER COMMANDS$b",
         "Search for, gives information on, and gives some control over IRC users.",
         "Alerts are a way to automatically detect (and optionally G-line) certain users.  For example, a \"gline info sub7server\" alert would G-line any users using \"sub7server\" as their full name (user info field).",
+        "  COMMAND  [MinAccess]",
         "  ACCESS   [${level/access}]",
         "  ADDALERT [${level/addalert}]",
         "  ADDTRUST [${level/addtrust}]",
         "  DELALERT [${level/delalert}]",
         "  DELTRUST [${level/deltrust}]",
+        "  EDITTRUST [${level/edittrust}]",
         "  INVITEME [${level/inviteme}]",
         "  TRACE    [${level/trace}]",
         "  WHOIS    [${level/whois}]");
@@ -33,7 +35,7 @@
 "ADDTRUST" ("/msg $O ADDTRUST <ip> <count> <duration> <reason>",
         "Allows the specified IP address to have the specified amount of clones before being removed (rather than the usual limit).",
         "You may use 0 as the duration if you do not wish the trust to ever expire, and 0 as the count for unlimited connections.",
-        "$uSee Also:$u deltrust, stats trusted");
+        "$uSee Also:$u deltrust, edittrust, stats trusted");
 "ALERT REACTION" ("$bALERT REACTION$b",
         "Valid alert actions (to be taken when an alert is hit) are:",
         "$bNOTICE$b:       Send a notice to the $b$O$b alert channel",
         "$uSee Also:$u addalert, stats");
 "DELTRUST" ("/msg $O DELTRUST <ip>",
         "Deletes a trusted IP from $b$O's$b trusted hosts list. A trusted IP address is exempted from normal client limits. A list of currently trusted IPs is displayed by $bstats trusted$b.",
-        "$uSee Also:$u addtrust, stats");
+        "$uSee Also:$u addtrust, edittrust, stats");
+"EDITTRUST" ("/msg $O EDITTRUST <ip> <count> <duration> <reason>",
+        "Edits the 'trust' for the specified IP, changing the count, duration and/or reason.",
+        "You may use 0 as the duration if you do not wish the trust to ever expire, and 0 as the count for unlimited connections.",
+        "$uSee Also:$u addtrust, deltrust, stats trusted");
+"INVITE" ("/msg $O INVITE #channel",
+       "Invites you to the specified channel.");
 "INVITEME" ("/msg $O INVITEME [nick]",
         "Invites the specified user (if omitted, you) to $O's debug channel.",
         "This is currently pointless, since no output is sent to the debug channel.");
@@ -59,7 +67,7 @@
         "$bKILL$b:    Kill matching clients.",
         "$bGLINE$b:   Issue a gline for the client's host (by default, 1 hour long).",
         "$bGAG$b:     Gag all matching users (by default, does not expire).",
-        "$bDOMAINS$b: Display counts of users in each domain (length specified by DEPTH criteria.", 
+        "$bDOMAINS$b: Display counts of users in each domain (length specified by DEPTH criteria.",
         "Note: By default, IRC operators are not affected by the KILL, GLINE or GAG actions.  You can override this by specifying the $bABUSE OPERS$b criteria for a trace.  Even if you do specify $bABUSE OPERS$b, it will not affect opers at your access level or above.");
 "TRACE CRITERIA" ("$bTRACE CRITERIA$b",
         "Criteria and values for $btrace$b (a search with $btrace$b must match all specified items):",
@@ -83,6 +91,8 @@
         "$bCLONES$b min             Ignore clients from hosts with fewer than this many connections.",
         "$bINFO_SPACE$b yes/no      Clients match only if their info starts with a space (' ') character.",
         "$bABUSE OPERS$b            Force adverse actions to affect opers as well.",
+        "$bABUSE TRUSTED$b          Force adverse actions to affect users on trusted hosts as well.",
+        "$bTARGET$b                 Send alert notice to this channel.",
         "$bLOG$b                    Record matching users in $O's log file (in addition to acting).",
         "Additionally, the $bCHANNEL$b target may be prefixed with @ to select channel operators, + to select voiced users (will not select chanops unless @ is also used), or - to select non-voiced non-chanop users.  For example, CHANNEL #foo will select all users in #foo; CHANNEL +#foo will select only users voiced in #foo; CHANNEL @+#foo will select ops and voiced users in #foo; etc.");
 "WHOIS" ("/msg $O WHOIS <nick>",
         "  CHANNEL REACTIONS   - Automated reactions based on channel names",
         "  CHANNEL CONTROL     - Channel information and control",
         "There are also some miscellaneous channel-related commands:",
+        "  COMMAND  [MinAccess]",
         "  CHANINFO [${level/chaninfo}]",
         "  CSEARCH  [${level/csearch}]",
         "  JOIN     [${level/join}]",
 
 "CHANNEL REACTIONS" ("$bCHANNEL REACTION COMMANDS$b",
         "\"Bad-word\" channels are for assisting in enforcement of network policies (such as disallowing \"warez\" channels).  \"Warning\" channels are for channels which may be abused when they are present, but should be allowed otherwise.",
+        "  COMMAND  [MinAccess]",
         "  ADDBAD    [${level/addbad}]",
         "  ADDEXEMPT [${level/addexempt}]",
         "  DELBAD    [${level/delbad}]",
 
 "CHANNEL CONTROL" ("$bCHANNEL CONTROL COMMANDS$b",
         "These are analogous to the same (or similar) $C commands, but can be used on any channel.",
+        "  COMMAND    [MinAccess]",
         "  BAN        [${level/ban}]",
         "  CLEARBANS  [${level/clearbans}]",
         "  CLEARMODES [${level/clearmodes}]",
         "  DEOP       [${level/deop}]",
         "  DEOPALL    [${level/deopall}]",
         "  DEVOICEALL [${level/devoiceall}]",
+        "  FORCEKICK  [${level/forcekick}]",
         "  KICK       [${level/kick}]",
         "  KICKALL    [${level/kickall}]",
         "  KICKBAN    [${level/kickban}]",
 "KICK" ("/msg $O KICK <#channel> <nick> [reason]",
         "Kicks the specified user from the specified channel.",
         "If the channel is omitted, then $bkick$b will be done in the channel where the command was given.",
-        "$uSee Also:$u ban, kickall, kickban, kickbanall");
+        "$uSee Also:$u ban, kickall, kickban, kickbanall, forcekick");
+"FORCEKICK" ("/msg $O FORCEKICK <#channel> <nick> [reason]",
+        "Kicks the specified user from the specified channel even if he is a channel service (+k).",
+        "If the channel is omitted, then $bforcekick$b will be done in the channel where the command was given.",
+        "$uSee Also:$u ban, kick, kickall, kickban, kickbanall");
 "KICKALL" ("/msg $O KICKALL <#channel> [reason]",
         "Kicks all users in the specified channel except for the user issuing the command.",
         "If the channel is omitted, then $bkickall$b will be done in the channel where the command was given.",
 
 "GLINES" ("$bGLINE COMMANDS$b",
         "Searches for, issues, and removes G-lines (network-global K-lines).",
+        "  COMMAND  [MinAccess]",
         "  BLOCK    [${level/block}]",
         "  GLINE    [${level/gline}]",
         "  GTRACE   [${level/gtrace}]",
         "  GSYNC    [${level/gsync}]",
         "  REFRESHG [${level/refreshg}]",
         "  UNGLINE  [${level/ungline}]");
-"BLOCK" ("/msg $O BLOCK <nick> [reason]",
-        "GLINES the host of the specified nick for one hour  If no reason is given, use a default reason.",
+"BLOCK" ("/msg $O BLOCK <nick> [duration] [reason]",
+        "GLINES the host of the specified nick for one hour if no duration is given.  If no reason is given, use a default reason.",
         "$uSee Also:$u gline, ungline");
 "GLINE" ("/msg $O GLINE <user@host> <duration> <reason>",
         "Issues a GLINE (network ban) on the network for the speicified user@host for the specified duration (making the expiration time: net time + duration).",
         "$bLIMIT$b count            Limits the number of matching glines.",
         "$bREASON$b reason          Looks for glines with the given reason.",
         "$bISSUER$b account         Looks for glines issued by the given account.",
+        "$bLASTMOD$b interval       Looks for glines last modified in the specified time.",
         "$bAFTER$b interval         Looks for glines that expire more than $binterval$b in the future.");
 "GSYNC" ("/msg $O GSYNC [server]",
        "Requests a list of GLINES from its uplink or the specified server.  This can be used in the event srvx is down for period and becomes desynced.",
 
 "CLONES" ("$bCLONE/JUPE COMMANDS$b",
         "Commands that add, remove or control fake (reserved) users or servers.",
+        "  COMMAND   [MinAccess]",
         "  CLONE     [${level/clone}]",
         "  COLLIDE   [${level/collide}]",
         "  JUPE      [${level/jupe}]",
 
 "LOGS" ("$bLOGGING COMMANDS$b",
         "Controls what goes into logs and searches them.",
+        "  COMMAND         [MinAccess]",
         "  LOG             [${level/log}]",
         "  REOPEN          [${level/reopen}]");
 "LOG" ("/msg $O LOG <criteria> <value> [<criteria> <value>]...",
 
 "RUNNING" ("$bRUNNING COMMANDS$b",
         "These commands control srvx's runtime state.",
+        "  COMMAND   [MinAccess]",
         "  DIE       [${level/die}]",
         "  JUMP      [${level/jump}]",
         "  RECONNECT [${level/reconnect}]",
 
 "SERVICES" ("$bSERVICES COMMANDS$b",
         "These commands control how other services behave.",
+        "  COMMAND    [MinAccess]",
         "  BANEMAIL   [${level/banemail}]",
         "  BIND       [${level/bind}]",
         "  GAG        [${level/gag}]",
 
 "OTHER" ("$bOTHER COMMANDS$b",
         "These commands do not easily fall into one of the other categories.",
+        "  COMMAND [MinAccess]",
         "  DUMP    [${level/dump}]",
         "  HELP    [${level/help}]",
         "  RAW     [${level/raw}]",