ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/modules/core/m_die.c
(Generate patch)

Comparing:
ircd-hybrid/modules/core/m_die.c (file contents), Revision 33 by knight, Sun Oct 2 20:50:00 2005 UTC vs.
ircd-hybrid-7.2/modules/core/m_die.c (file contents), Revision 1011 by michael, Fri Sep 18 10:14:09 2009 UTC

# Line 23 | Line 23
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"
# Line 83 | Line 82 | mo_die(struct Client *client_p, struct C
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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines