static int
ms_xline(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
{
static int
ms_xline(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
{
*/
propagate_xline(source_p, parv[1], 0, parv[2], parv[3], parv[4]);
*/
propagate_xline(source_p, parv[1], 0, parv[2], parv[3], parv[4]);
sendto_realops_snomask(SNO_GENERAL, L_ALL,
"%s added temporary %d min. X-Line for [%s] [%s]",
sendto_realops_snomask(SNO_GENERAL, L_ALL,
"%s added temporary %d min. X-Line for [%s] [%s]",
- ircsprintf(buffer, "\"%s\",\"0\",\"%s\",\"%s\",%ld\n",
+ rb_sprintf(buffer, "\"%s\",\"0\",\"%s\",\"%s\",%ld\n",
static int
ms_unxline(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
{
static int
ms_unxline(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
{
*/
propagate_generic(source_p, "UNXLINE", parv[1], CAP_CLUSTER,
"%s", parv[2]);
*/
propagate_generic(source_p, "UNXLINE", parv[1], CAP_CLUSTER,
"%s", parv[2]);
"%s.tmp", ConfigFileEntry.xlinefile);
if((in = fopen(filename, "r")) == NULL)
"%s.tmp", ConfigFileEntry.xlinefile);
if((in = fopen(filename, "r")) == NULL)