Commits

jdhore committed d09d319

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

Comments (0)

Files changed (2)

modules/core/m_die.c

 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;

modules/m_restart.c

 	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;