1
0
Эх сурвалжийг харах

* Respond to /ctcp CHAT quicker

svn: 861
Bryan Drewery 22 жил өмнө
parent
commit
872b3072da

+ 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.
 16.Fixed bots not joining right away when a +chan was made.
 17.New cmd: addline, see .help addline for more info.
 17.New cmd: addline, see .help addline for more info.
 18.CYGWIN support now.
 18.CYGWIN support now.
+19.Bots now respond to /ctcp CHAT quicker
 
 
 1.1.3
 1.1.3
 1.Fixed a very fatal bug with channel ctcps.
 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 */
   dumplots(-dcc[idx].sock, "", wbanner()); /* we use sock so that colors aren't applied to banner */
   dprintf(idx, "\n \n");
   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"));
   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,
       /* 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
        * CTCP replies are NOTICE's this has to be a PRIVMSG
        * -poptix 5/1/1997 */
        * -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;
     return BIND_RET_BREAK;
 }
 }

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

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