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

* Port [3312] to 1.2.14
* Change cmd_adduser to use PRIVMSG



svn: 3314

Bryan Drewery 19 лет назад
Родитель
Сommit
851f98112e
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/mod/irc.mod/cmdsirc.c

+ 1 - 0
doc/UPDATES

@@ -27,6 +27,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Fix bots not connecting to their uplink.
 * Add ghost-inspired feature: backup bots. Bots marked +B will only join channels marked +backup.
 * Fixed cmd_nohelp (for viewing undocumented cmds - mainly debugging cmds)
+* cmd_adduser sends a PRIVMSG now instead of a NOTICE
 
 1.2.13 - http://wraith.shatow.net/milestone/1.2.13
 * Fix cmd_chanset accepting invalid flags

+ 1 - 1
src/mod/irc.mod/cmdsirc.c

@@ -1600,7 +1600,7 @@ static void cmd_adduser(int idx, char *par)
     dprintf(idx, "%s's initial password set to \002%s\002\n", hand, s2);
     dprintf(idx, "%s's initial secpass set to \002%s\002\n", hand, s3);
 
-    dprintf(DP_HELP, "NOTICE %s :*** You've been add to this botnet as '%s' with the host '%s'. Ask a botnet admin for the msg cmds. Your initial password is: %s\n", nick, hand, p1, s2);
+    dprintf(DP_HELP, "PRIVMSG %s :*** You've been add to this botnet as '%s' with the host '%s'. Ask a botnet admin for the msg cmds. Your initial password is: %s\n", nick, hand, p1, s2);
   } else {
     dprintf(idx, "Added hostmask %s to %s.\n", p1, u->handle);
     addhost_by_handle(hand, p1);