Explorar o código

* Don't FiSH encrypt DCC CHAT responses

Bryan Drewery %!s(int64=15) %!d(string=hai) anos
pai
achega
ef519c3653
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/mod/ctcp.mod/ctcp.c

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

@@ -658,7 +658,7 @@ static int ctcp_CHAT(char *nick, char *uhost, struct userrec *u, char *object, c
        * CTCP replies are NOTICE's this has to be a PRIVMSG
        * -poptix 5/1/1997 */
       bd::String msg;
-      msg = bd::String::printf("\001DCC CHAT chat %lu %u\001", iptolong(getmyip()), dcc[ix].port);
+      msg = bd::String::printf("+p \001DCC CHAT chat %lu %u\001", iptolong(getmyip()), dcc[ix].port);
       privmsg(nick, msg, DP_SERVER);
     }
     return BIND_RET_BREAK;