Просмотр исходного кода

* Port [3159] to 1.2.13
* Minor documentation change for cmd_newleaf. (fixes #291)


svn: 3160

Bryan Drewery 19 лет назад
Родитель
Сommit
82d08a543c
3 измененных файлов с 2 добавлено и 3 удалено
  1. 1 0
      doc/UPDATES
  2. 1 2
      misc/help.txt
  3. 0 1
      src/cmds.c

+ 1 - 0
doc/UPDATES

@@ -15,6 +15,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Added set var 'usermode' for IRC usermode to set on connect/rehash.
 * Added set var 'usermode' for IRC usermode to set on connect/rehash.
 * Added cmd_umode (+m) to manually set bots' usermodes at will.
 * Added cmd_umode (+m) to manually set bots' usermodes at will.
 * Fix botnicks becoming lower case after being opped.
 * Fix botnicks becoming lower case after being opped.
+* Minor documentation change for cmd_newleaf. (fixes #291)
 
 
 1.2.12 - http://wraith.shatow.net/milestone/1.2.12
 1.2.12 - http://wraith.shatow.net/milestone/1.2.12
 * Clearing a variable via 'set var -' now resets that variable to default settings. (implements #111)
 * Clearing a variable via 'set var -' now resets that variable to default settings. (implements #111)

+ 1 - 2
misc/help.txt

@@ -1318,8 +1318,7 @@ See also: w
 :hub:newleaf:
 :hub:newleaf:
 ###  $bnewleaf$b <handle> [hostmask] [anotherhostmask] ...
 ###  $bnewleaf$b <handle> [hostmask] [anotherhostmask] ...
    Adds a new leaf to the botnet with the specified handle and hostname.
    Adds a new leaf to the botnet with the specified handle and hostname.
-   Any number of hosts can be specified in the cmd. You will need to
-   add a hostmask for the bot's ip for it to connect over DCC.
+   Any number of hosts can be specified in the cmd.
  
  
    The binary config botline will also be outputted, but should be
    The binary config botline will also be outputted, but should be
    checked for correctness.
    checked for correctness.

+ 0 - 1
src/cmds.c

@@ -3083,7 +3083,6 @@ static void cmd_newleaf(int idx, char *par)
 {
 {
   if (!par[0]) {
   if (!par[0]) {
     dprintf(idx, "Usage: newleaf <handle> [host] [anotherhost]\n");
     dprintf(idx, "Usage: newleaf <handle> [host] [anotherhost]\n");
-    dprintf(idx, "       Leafs can't link unless you specify a *!ident@ip hostmask\n");
     return;
     return;
   }
   }