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

Comparing ircd-hybrid-8/src/client.c (file contents):
Revision 1156 by michael, Tue Aug 9 20:29:20 2011 UTC vs.
Revision 1158 by michael, Wed Aug 10 19:46:00 2011 UTC

# Line 1292 | Line 1292 | change_local_nick(struct Client *client_
1292        source_p->tsinfo = CurrentTime;
1293        clear_ban_cache_client(source_p);
1294        watch_check_hash(source_p, RPL_LOGOFF);
1295 +
1296 +      if (HasUMode(source_p, UMODE_REGISTERED))
1297 +      {
1298 +        unsigned int oldmodes = source_p->umodes;
1299 +        char modebuf[IRCD_BUFSIZE] = { '\0' };
1300 +
1301 +        DelUMode(source_p, UMODE_REGISTERED);
1302 +        send_umode(source_p, source_p, oldmodes, 0xffffffff, modebuf);
1303 +      }
1304      }
1305  
1306      /* XXX - the format of this notice should eventually be changed

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines