50 |
|
static void set_server_gecos(struct Client *, char *); |
51 |
|
|
52 |
|
struct Message server_msgtab = { |
53 |
< |
"SERVER", 0, 0, 4, 0, MFLG_SLOW | MFLG_UNREG, 0, |
53 |
> |
"SERVER", 0, 0, 4, MAXPARA, MFLG_SLOW | MFLG_UNREG, 0, |
54 |
|
{mr_server, m_registered, ms_server, m_ignore, m_registered, m_ignore} |
55 |
|
}; |
56 |
|
|
57 |
|
struct Message sid_msgtab = { |
58 |
< |
"SID", 0, 0, 5, 0, MFLG_SLOW, 0, |
58 |
> |
"SID", 0, 0, 5, MAXPARA, MFLG_SLOW, 0, |
59 |
|
{rfc1459_command_send_error, m_ignore, ms_sid, m_ignore, m_ignore, m_ignore} |
60 |
|
}; |
61 |
|
|
91 |
|
struct Client *target_p; |
92 |
|
int hop; |
93 |
|
|
94 |
< |
if (parc < 4 || EmptyString(parv[3])) |
94 |
> |
if (EmptyString(parv[3])) |
95 |
|
{ |
96 |
|
sendto_one(client_p, "ERROR :No servername"); |
97 |
|
exit_client(client_p, client_p, "Wrong number of args"); |
262 |
|
if (!IsServer(source_p)) |
263 |
|
return; |
264 |
|
|
265 |
< |
if (parc < 4 || EmptyString(parv[3])) |
265 |
> |
if (EmptyString(parv[3])) |
266 |
|
{ |
267 |
|
sendto_one(client_p, "ERROR :No servername"); |
268 |
|
return; |
482 |
|
if (!IsServer(source_p)) |
483 |
|
return; |
484 |
|
|
485 |
< |
if (parc < 5 || EmptyString(parv[4])) |
485 |
> |
if (EmptyString(parv[4])) |
486 |
|
{ |
487 |
|
sendto_one(client_p, "ERROR :No servername"); |
488 |
|
return; |