Make remote restart and die actually...work...

This commit is contained in:
JD Horelick 2010-03-23 15:21:09 -04:00
parent 658a333d65
commit 5ff039e923
2 changed files with 0 additions and 12 deletions

View File

@ -104,12 +104,6 @@ me_die(struct Client *client_p __unused, struct Client *source_p, int parc, cons
static int
do_die(struct Client *source_p, const char *servername)
{
if(irccmp(servername, me.name))
{
sendto_one_notice(source_p, ":Mismatch on /die %s", me.name);
return 0;
}
ircd_shutdown(get_client_name(source_p, HIDE_IP));
return 0;

View File

@ -111,12 +111,6 @@ do_restart(struct Client *source_p, const char *servername)
rb_dlink_node *ptr;
struct Client *target_p;
if(irccmp(servername, me.name))
{
sendto_one_notice(source_p, ":Mismatch on /restart %s", me.name);
return 0;
}
RB_DLINK_FOREACH(ptr, lclient_list.head)
{
target_p = ptr->data;