Explorar o código

* Respond to /ctcp CHAT quicker

svn: 861
Bryan Drewery %!s(int64=22) %!d(string=hai) anos
pai
achega
872b3072da
Modificáronse 4 ficheiros con 3 adicións e 2 borrados
  1. 1 0
      doc/UPDATES
  2. 1 0
      src/misc.c
  3. 1 1
      src/mod/ctcp.mod/ctcp.c
  4. 0 1
      src/mod/server.mod/server.c

+ 1 - 0
doc/UPDATES

@@ -19,6 +19,7 @@ This is a summary of ChangeLog basically.
 16.Fixed bots not joining right away when a +chan was made.
 17.New cmd: addline, see .help addline for more info.
 18.CYGWIN support now.
+19.Bots now respond to /ctcp CHAT quicker
 
 1.1.3
 1.Fixed a very fatal bug with channel ctcps.

+ 1 - 0
src/misc.c

@@ -437,6 +437,7 @@ void show_banner(int idx)
 {
   dumplots(-dcc[idx].sock, "", wbanner()); /* we use sock so that colors aren't applied to banner */
   dprintf(idx, "\n \n");
+  dprintf(idx, STR("%sConributions welcomed by paypal: root@shatow.net%s\n"), BOLD(idx), BOLD_END(idx));
   dprintf(idx, STR("info, bugs, suggestions, comments:\n- http://wraith.shatow.net/ -\n \n"));
 }
 

+ 1 - 1
src/mod/ctcp.mod/ctcp.c

@@ -646,7 +646,7 @@ static int ctcp_CHAT(char *nick, char *uhost, struct userrec *u, char *object, c
       /* do me a favour and don't change this back to a CTCP reply,
        * CTCP replies are NOTICE's this has to be a PRIVMSG
        * -poptix 5/1/1997 */
-      dprintf(DP_HELP, "PRIVMSG %s :\001DCC CHAT chat %lu %u\001\n", nick, iptolong(getmyip()), dcc[ix].port);
+      dprintf(DP_SERVER, "PRIVMSG %s :\001DCC CHAT chat %lu %u\001\n", nick, iptolong(getmyip()), dcc[ix].port);
     }
     return BIND_RET_BREAK;
 }

+ 0 - 1
src/mod/server.mod/server.c

@@ -1358,7 +1358,6 @@ static void dcc_chat_hostresolved(int i)
   return;
 }
 
-
 /*
  *     Server timer functions
  */