mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
remove unneeded notice, whois idle works fine :)
This commit is contained in:
parent
f845191560
commit
340a0ddd26
1 changed files with 3 additions and 7 deletions
|
@ -190,9 +190,9 @@ do_whois(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
nick++;
|
nick++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(MyClient(source_p))
|
if(MyClient(source_p))
|
||||||
target_p = find_named_person(nick);
|
target_p = find_named_person(nick);
|
||||||
else
|
else
|
||||||
target_p = find_person(nick);
|
target_p = find_person(nick);
|
||||||
|
|
||||||
if(target_p != NULL)
|
if(target_p != NULL)
|
||||||
|
@ -350,9 +350,6 @@ single_whois(struct Client *source_p, struct Client *target_p, int operspy)
|
||||||
target_p->name,
|
target_p->name,
|
||||||
rb_current_time() - target_p->localClient->last,
|
rb_current_time() - target_p->localClient->last,
|
||||||
target_p->localClient->firsttime);
|
target_p->localClient->firsttime);
|
||||||
|
|
||||||
sendto_one_notice(source_p, ":%ld %ld", target_p->localClient->last,
|
|
||||||
target_p->localClient->firsttime);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -373,7 +370,6 @@ single_whois(struct Client *source_p, struct Client *target_p, int operspy)
|
||||||
target_p->name, target_p->sockhost);
|
target_p->name, target_p->sockhost);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hdata.client = source_p;
|
hdata.client = source_p;
|
||||||
|
|
Loading…
Reference in a new issue