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

* Forgot 'log_bad = 0;' to fix the '!' showing up for aliases.

svn: 2334
Bryan Drewery 21 лет назад
Родитель
Сommit
4159dc758d
2 измененных файлов с 5 добавлено и 0 удалено
  1. 3 0
      doc/UPDATES
  2. 2 0
      src/core_binds.c

+ 3 - 0
doc/UPDATES

@@ -11,6 +11,9 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 - Added cmd_iop which will invite the specified nick to a chan and then auto-op them upon joining (does a userhost)
 - Added hijacked invite detection based on server invite notices.
 
+1.2.7
+* Forgot 'log_bad = 0;' to fix the '!' showing up for aliases.
+
 1.2.6
 * (REVERTED FROM 1.2.3) Disabled all memory allocations after a segfault (Fixes CPU spinning)
   -This actually CAUSED cpu-spins after segfaults.

+ 2 - 0
src/core_binds.c

@@ -154,6 +154,8 @@ void real_check_bind_dcc(const char *cmd, int idx, const char *text, Auth *auth)
   if (hits == 0) {
     if (!check_aliases(idx, cmd, args)) 
       dprintf(idx, "What?  You need '%shelp'\n", settings.dcc_prefix);
+    else
+      log_bad = 0;
   } else if (hits > 1)
     dprintf(idx, "Ambiguous command.\n");