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

Comparing ircd-hybrid-8/modules/m_dline.c (file contents):
Revision 1242 by michael, Thu Sep 22 20:53:07 2011 UTC vs.
Revision 1243 by michael, Fri Sep 30 10:47:53 2011 UTC

# Line 26 | Line 26
26   #include "list.h"
27   #include "channel.h"
28   #include "client.h"
29 #include "common.h"
29   #include "irc_string.h"
30   #include "sprintf_irc.h"
31   #include "ircd.h"
# Line 39 | Line 38
38   #include "s_misc.h"
39   #include "send.h"
40   #include "hash.h"
42 #include "handlers.h"
41   #include "s_serv.h"
44 #include "msg.h"
42   #include "s_gline.h"
43   #include "parse.h"
44   #include "modules.h"
# Line 186 | Line 183 | mo_dline(struct Client *client_p, struct
183    if ((oper_reason = strchr(reason, '|')) != NULL)
184      *oper_reason++ = '\0';
185  
186 <  if (!valid_comment(source_p, reason, YES))
186 >  if (!valid_comment(source_p, reason, 1))
187      return;
188  
189    conf = make_conf_item(DLINE_TYPE);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)