handler = ehandler.handler;
/* check right amount of params is passed... --is */
- if(i < ehandler.min_para ||
+ if(i < ehandler.min_para ||
(ehandler.min_para && EmptyString(hpara[ehandler.min_para - 1])))
{
if(!IsServer(client_p))
{
sendto_one(client_p, form_str(ERR_NEEDMOREPARAMS),
- me.name,
- EmptyString(client_p->name) ? "*" : client_p->name,
+ me.name,
+ EmptyString(client_p->name) ? "*" : client_p->name,
mptr->cmd);
if(MyClient(client_p))
return (1);
ehandler = mptr->handlers[ENCAP_HANDLER];
handler = ehandler.handler;
- if(parc < ehandler.min_para ||
+ if(parc < ehandler.min_para ||
(ehandler.min_para && EmptyString(parv[ehandler.min_para - 1])))
return;
DICTIONARY_FOREACH(msg, &iter, cmd_dict)
{
s_assert(msg->cmd != NULL);
- sendto_one_numeric(source_p, RPL_STATSCOMMANDS,
+ sendto_one_numeric(source_p, RPL_STATSCOMMANDS,
form_str(RPL_STATSCOMMANDS),
- msg->cmd, msg->count,
+ msg->cmd, msg->count,
msg->bytes, msg->rcount);
}
/* remove_unknown()
*
* inputs - client who gave us message, supposed sender, buffer
- * output -
+ * output -
* side effects - kills issued for clients, squits for servers
*/
static void
* #XX is a SID (SQUIT)
* meep.foo is a server (SQUIT)
*/
- if((IsDigit(lsender[0]) && slen == 3) ||
+ if((IsDigit(lsender[0]) && slen == 3) ||
(strchr(lsender, '.') != NULL))
{
sendto_realops_snomask(SNO_DEBUG, L_ALL,
sendto_one(client_p,
":%s SQUIT %s :(Unknown prefix (%s) from %s)",
- get_id(&me, client_p), lsender,
+ get_id(&me, client_p), lsender,
lbuffer, client_p->name);
}
else if(!IsDigit(lsender[0]))
sid[3] = '\0';
server = find_server(NULL, sid);
if (server != NULL && server->from == client_p)
- sendto_one(client_p, ":%s KILL %s :%s (Unknown Client)",
+ sendto_one(client_p, ":%s KILL %s :%s (Unknown Client)",
get_id(&me, client_p), lsender, me.name);
}
}
* because it will have been already killed by the local server.
*
* unfortunately, as we cant guarantee other servers will do the
- * "right thing" on a nick collision, we have to keep both kills.
+ * "right thing" on a nick collision, we have to keep both kills.
* ergo we need to ignore ERR_NOSUCHNICK. --fl_
*/
/* quick comment. This _was_ tried. i.e. assume the other servers
return;
/* Fake it for server hiding, if its our client */
- sendto_one(target_p, ":%s %s %s%s",
- get_id(source_p, target_p), numeric,
+ sendto_one(target_p, ":%s %s %s%s",
+ get_id(source_p, target_p), numeric,
get_id(target_p, target_p), buffer);
return;
}