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

Comparing ircd-hybrid/trunk/modules/m_set.c (file contents):
Revision 1618 by michael, Tue Oct 30 21:04:38 2012 UTC vs.
Revision 1632 by michael, Sun Nov 4 15:37:10 2012 UTC

# Line 138 | Line 138 | list_quote_commands(struct Client *sourc
138   static void
139   quote_autoconn(struct Client *source_p, const char *arg, int newval)
140   {
141  struct AccessItem *aconf;
142
141    if (arg != NULL)
142    {
143 <    struct ConfItem *conf = find_exact_name_conf(SERVER_TYPE, NULL, arg, NULL, NULL);
143 >    struct MaskItem *conf = find_exact_name_conf(CONF_SERVER, NULL, arg, NULL, NULL);
144  
145      if (conf != NULL)
146      {
149      aconf = map_to_conf(conf);
147        if (newval)
148 <        SetConfAllowAutoConn(aconf);
148 >        SetConfAllowAutoConn(conf);
149        else
150 <        ClearConfAllowAutoConn(aconf);
150 >        ClearConfAllowAutoConn(conf);
151  
152        sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
153                             "%s has changed AUTOCONN for %s to %i",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines