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

Comparing ircd-hybrid/trunk/src/conf_class.c (file contents):
Revision 1650 by michael, Sat Nov 10 20:57:51 2012 UTC vs.
Revision 1654 by michael, Fri Nov 16 19:39:37 2012 UTC

# Line 27 | Line 27
27   #include "stdinc.h"
28   #include "list.h"
29   #include "ircd_defs.h"
30 #include "balloc.h"
30   #include "conf.h"
31   #include "s_serv.h"
32   #include "resv.h"
# Line 111 | Line 110 | get_client_class(const dlink_list *const
110      const struct MaskItem *conf = ptr->data;
111  
112      assert(conf->class);
113 <    assert(conf->type & (CONF_OPERATOR | CONF_CLIENT | CONF_SERVER));
113 >    assert(conf->type & (CONF_OPER | CONF_CLIENT | CONF_SERVER));
114  
115      return conf->class->name;
116    }
# Line 127 | Line 126 | get_client_ping(const dlink_list *const
126    if ((ptr = list->head)) {
127      const struct MaskItem *conf = ptr->data;
128  
129 <    assert(aconf->class);
130 <    assert(aconf->type & (CONF_OPERATOR | CONF_CLIENT | CONF_SERVER));
129 >    assert(conf->class);
130 >    assert(conf->type & (CONF_OPER | CONF_CLIENT | CONF_SERVER));
131  
132      return conf->class->ping_freq;
133    }
# Line 145 | Line 144 | get_sendq(const dlink_list *const list)
144      const struct MaskItem *conf = ptr->data;
145  
146      assert(conf->class);
147 <    assert(conf->type & (CONF_OPERATOR | CONF_CLIENT | CONF_SERVER));
147 >    assert(conf->type & (CONF_OPER | CONF_CLIENT | CONF_SERVER));
148  
149      return conf->class->max_sendq;
150    }
# Line 162 | Line 161 | get_recvq(const dlink_list *const list)
161      const struct MaskItem *conf = ptr->data;
162  
163      assert(conf->class);
164 <    assert(conf->type & (CONF_OPERATOR | CONF_CLIENT | CONF_SERVER));
164 >    assert(conf->type & (CONF_OPER | CONF_CLIENT | CONF_SERVER));
165  
166      return conf->class->max_recvq;
167    }

Diff Legend

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