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

Fix HQ user having all console flags.

This leaked in with d2922d276
Bryan Drewery 11 жил өмнө
parent
commit
b0266ecb1d
2 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/chanprog.cc

+ 1 - 0
doc/UPDATES

@@ -4,6 +4,7 @@ maint
   * Allow 'set trace ignore' again. Undoes a change from 2005.
   * Fix ptrace detection on Linux
   * Fix broken startup with GCC from ports on FreeBSD.
+  * Fix simulated terminal mode (-nt) defaulting to all console flags.
 
 1.4.5
   * Remove ahbl as it now positively identifies all hosts as abusive

+ 1 - 1
src/chanprog.cc

@@ -697,7 +697,7 @@ void setup_HQ(int n) {
     dcc[n].addr = iptolong(getmyip());
     dcc[n].sock = STDOUT;
     dcc[n].timeval = now;
-    dcc[n].u.chat->con_flags = conmask | LOG_ALL;
+    dcc[n].u.chat->con_flags = conmask;
     dcc[n].u.chat->strip_flags = STRIP_ALL;
     dcc[n].status = STAT_ECHO;
     strlcpy(dcc[n].nick, STR("HQ"), sizeof(dcc[n].nick));