0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

Move RPL_WHOISLOGGEDIN to sendto_one_numeric().

This commit is contained in:
Jilles Tjoelker 2010-08-29 22:29:17 +02:00
parent a63f7af7bb
commit 5b383ce060
2 changed files with 3 additions and 4 deletions

View file

@ -302,9 +302,8 @@ h_svc_whois(hook_data_client *data)
if(*p == '\0') if(*p == '\0')
p = data->target->user->suser; p = data->target->user->suser;
sendto_one(data->client, form_str(RPL_WHOISLOGGEDIN), sendto_one_numeric(data->client, RPL_WHOISLOGGEDIN,
get_id(&me, data->client), form_str(RPL_WHOISLOGGEDIN),
get_id(data->client, data->client),
data->target->name, p); data->target->name, p);
} }
} }

View file

@ -351,7 +351,7 @@ static const char * replies[] = {
/* 327 */ NULL, /* 327 */ NULL,
/* 328 RPL_CHANNELURL */ NULL, /* 328 RPL_CHANNELURL */ NULL,
/* 329 RPL_CREATIONTIME, */ ":%s 329 %s %s %lu", /* 329 RPL_CREATIONTIME, */ ":%s 329 %s %s %lu",
/* 330 RPL_WHOISLOGGEDIN */ ":%s 330 %s %s %s :is logged in as", /* 330 RPL_WHOISLOGGEDIN */ "%s %s :is logged in as",
/* 331 RPL_NOTOPIC, */ ":%s 331 %s %s :No topic is set.", /* 331 RPL_NOTOPIC, */ ":%s 331 %s %s :No topic is set.",
/* 332 RPL_TOPIC, */ ":%s 332 %s %s :%s", /* 332 RPL_TOPIC, */ ":%s 332 %s %s :%s",
/* 333 RPL_TOPICWHOTIME, */ ":%s 333 %s %s %s %lu", /* 333 RPL_TOPICWHOTIME, */ ":%s 333 %s %s %s %lu",