| 27 |
|
#include "channel.h" |
| 28 |
|
#include "client.h" |
| 29 |
|
#include "irc_string.h" |
| 30 |
– |
#include "sprintf_irc.h" |
| 30 |
|
#include "conf.h" |
| 31 |
|
#include "ircd.h" |
| 32 |
|
#include "hostmask.h" |
| 138 |
|
mo_dline(struct Client *client_p, struct Client *source_p, |
| 139 |
|
int parc, char *parv[]) |
| 140 |
|
{ |
| 141 |
< |
char def_reason[] = "<No reason specified>"; |
| 141 |
> |
char def_reason[] = CONF_NOREASON; |
| 142 |
|
char *dlhost = NULL, *reason = NULL; |
| 143 |
|
char *target_server = NULL; |
| 144 |
|
const char *creason; |
| 274 |
|
ms_dline(struct Client *client_p, struct Client *source_p, |
| 275 |
|
int parc, char *parv[]) |
| 276 |
|
{ |
| 277 |
< |
char def_reason[] = "<No reason specified>"; |
| 277 |
> |
char def_reason[] = CONF_NOREASON; |
| 278 |
|
char *dlhost, *reason; |
| 279 |
|
const char *creason; |
| 280 |
|
const struct Client *target_p = NULL; |
| 480 |
|
sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, |
| 481 |
|
"%s has removed the D-Line for: [%s]", |
| 482 |
|
get_oper_name(source_p), addr); |
| 483 |
< |
ilog(LOG_TYPE_DLINE, "%s removed temporary D-Line for [%s]", |
| 483 |
> |
ilog(LOG_TYPE_DLINE, "%s removed D-Line for [%s]", |
| 484 |
|
get_oper_name(source_p), addr); |
| 485 |
|
} |
| 486 |
|
else |
| 497 |
|
return; |
| 498 |
|
|
| 499 |
|
sendto_match_servs(source_p, parv[1], CAP_UNDLN, |
| 500 |
< |
"UNDLINE %s %s %s", |
| 500 |
> |
"UNDLINE %s %s", |
| 501 |
|
parv[1], parv[2]); |
| 502 |
|
|
| 503 |
|
me_undline(client_p, source_p, parc, parv); |