Explorar el Código

Use existing block to clear user

Bryan Drewery hace 10 años
padre
commit
521b4d2237
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/auth.cc

+ 1 - 1
src/auth.cc

@@ -111,7 +111,7 @@ void Auth::NullUsers(const char *nick)
   } else {
     if (ht_nick.contains(nick)) {
       Auth *auth = ht_nick[nick];
-      auth->user = NULL;
+      auth_clear_users_block(nick, auth, NULL);
     }
   }
 }