23 |
|
*/ |
24 |
|
|
25 |
|
#include "stdinc.h" |
26 |
< |
#include "tools.h" |
26 |
> |
#include "list.h" |
27 |
|
#include "handlers.h" |
28 |
|
#include "client.h" |
29 |
– |
#include "common.h" |
29 |
|
#include "ircd.h" |
30 |
|
#include "irc_string.h" |
31 |
|
#include "numeric.h" |
82 |
|
|
83 |
|
if (parc < 2 || EmptyString(parv[1])) |
84 |
|
{ |
85 |
< |
sendto_one(source_p,":%s NOTICE %s :Need server name /die %s", |
85 |
> |
sendto_one(source_p, ":%s NOTICE %s :Need server name /die %s", |
86 |
|
me.name, source_p->name, me.name); |
87 |
|
return; |
88 |
|
} |
89 |
|
|
90 |
|
if (irccmp(parv[1], me.name)) |
91 |
|
{ |
92 |
< |
sendto_one(source_p,":%s NOTICE %s :Mismatch on /die %s", |
93 |
< |
me.name,source_p->name, me.name); |
92 |
> |
sendto_one(source_p, ":%s NOTICE %s :Mismatch on /die %s", |
93 |
> |
me.name, source_p->name, me.name); |
94 |
|
return; |
95 |
|
} |
96 |
|
|
97 |
|
ircsprintf(buf, "received DIE command from %s", |
98 |
|
get_oper_name(source_p)); |
99 |
< |
server_die(buf, NO); |
99 |
> |
server_die(buf, 0); |
100 |
|
} |