* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: m_die.c 3295 2007-03-28 14:45:46Z jilles $
*/
#include "stdinc.h"
static int
do_die(struct Client *source_p, const char *servername)
{
+ /* this makes sure both servernames match otherwise weirdness will occur */
+ 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;