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

* Don't FiSH encrypt DCC CHAT responses

Bryan Drewery 15 лет назад
Родитель
Сommit
ef519c3653
1 измененных файлов с 1 добавлено и 1 удалено
  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;