]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - doc/sgml/oper-guide/commands.sgml
Remove comment referencing LazyLeaf.
[irc/rqf/shadowircd.git] / doc / sgml / oper-guide / commands.sgml
index 05f2b32821ae530996260e0b6383fc6ca3a6b14c..eabf734d9e8381856d5fe22643385914d432b67f 100644 (file)
          <command>DLINE</command>
          <arg><replaceable>length</replaceable></arg>
          <arg choice=plain><replaceable>a</replaceable>.<replaceable>b</replaceable>.<replaceable>c</replaceable>.<replaceable>d</replaceable></arg>
+         <arg>ON <replaceable>servername</replaceable></arg>
          <arg>:<replaceable>reason</replaceable></arg>
        </cmdsynopsis>
        <para>
          connections.
        </para>
        <para>
-         D:lines cannot be set remotely on other servers.
+         If the ON part is specified, the D:line is set on servers matching
+         the given mask (provided a matching shared{} block exists there,
+         which is not the case by default).
+         Otherwise, the D:Line will be set on the local server only.
        </para>
        <para>
          Only exempt{} blocks exempt from D:lines.
        <cmdsynopsis>
          <command>UNDLINE</command>
          <arg choice=plain><replaceable>a.b.c.d</replaceable></arg>
+         <arg>ON <replaceable>servername</replaceable></arg>
        </cmdsynopsis>
        <para>
          Will attempt to remove a D:line from <filename>dline.conf</filename>, and will flush
          </group>
        </cmdsynopsis>
        <para>
-         Looks up the given hostmask or IP address and reports back on any auth{} blocks, D:, G:, or K: lines found.
+         Looks up the given hostmask or IP address and reports back on any auth{} blocks, D: or K: lines found.
          If <replaceable>nick</replaceable> is given, also searches for
          nick resvs.
        </para>
          no target is specified.
        </para>
       </sect2>
+      <sect2>
+       <title>PRIVS</title>
+       <cmdsynopsis>
+         <command>PRIVS</command>
+         <arg><replaceable>nick</replaceable></arg>
+       </cmdsynopsis>
+       <para>
+         Displays effective operator privileges for
+         the specified nick, or for yourself if no nick is
+         given. This includes all privileges from the operator
+         block, the name of the operator block and those
+         privileges from the auth block that have an effect
+         after the initial connection.
+       </para>
+       <para>
+         The exact output depends on the server the nick is on,
+         see the matching version of this document.
+         If the remote server does not support this extension, you will not
+         receive a reply.
+       </para>
+      </sect2>
       <sect2>
         <title>MASKTRACE</title>
         <cmdsynopsis>