Explorar o código

* Act on successfully looking up a user's IP

Bryan Drewery %!s(int64=17) %!d(string=hai) anos
pai
achega
79b71c57d7
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/mod/irc.mod/chan.c

+ 4 - 0
src/mod/irc.mod/chan.c

@@ -64,6 +64,10 @@ static void resolv_member_callback(int id, void *client_data, const char *host,
             if (!m->user) {
               simple_snprintf(s, sizeof(s), "%s!%s", m->nick, m->userip);
               m->user = get_user_by_host(s);
+
+              /* Act on this lookup */
+              if (m->user)
+                check_this_user(m->user->handle, 0, NULL);
             }
             return;
           }