|
|
@@ -1312,6 +1312,11 @@ static void cmd_find(int idx, char *par)
|
|
|
simple_snprintf(s, sizeof(s), "%s!%s", m->nick, m->userip);
|
|
|
m->user = get_user_by_host(s);
|
|
|
}
|
|
|
+
|
|
|
+ /* Managed to get the user for a previously unknown user. Act on it! */
|
|
|
+ if (m->user)
|
|
|
+ check_this_user(m->user->handle, 0, NULL);
|
|
|
+
|
|
|
m->tried_getuser = 1;
|
|
|
}
|
|
|
if ((!lookup_user && wild_match(par, s)) || (lookup_user && m->user == u)) {
|
|
|
@@ -1507,6 +1512,11 @@ static void cmd_channel(int idx, char *par)
|
|
|
simple_snprintf(s1, sizeof(s1), "%s!%s", m->nick, m->userip);
|
|
|
m->user = get_user_by_host(s1);
|
|
|
}
|
|
|
+
|
|
|
+ /* Managed to get the user for a previously unknown user. Act on it! */
|
|
|
+ if (m->user)
|
|
|
+ check_this_user(m->user->handle, 0, NULL);
|
|
|
+
|
|
|
m->tried_getuser = 1;
|
|
|
}
|
|
|
if (m->user == NULL)
|