diff --git a/modules/core/m_die.c b/modules/core/m_die.c index 38d4e22..b8b13bb 100644 --- a/modules/core/m_die.c +++ b/modules/core/m_die.c @@ -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; diff --git a/modules/m_restart.c b/modules/m_restart.c index 5ff84f9..71388fe 100644 --- a/modules/m_restart.c +++ b/modules/m_restart.c @@ -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;