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

Comparing ircd-hybrid/src/client.c (file contents):
Revision 236 by michael, Sat Nov 5 11:54:49 2005 UTC vs.
Revision 237 by michael, Sat Nov 5 15:47:32 2005 UTC

# Line 1406 | Line 1406 | void
1406   set_initial_nick(struct Client *client_p, struct Client *source_p,
1407                   const char *nick)
1408   {
1409 < char buf[USERLEN + 1];
1409 >  char buf[USERLEN + 1];
1410  
1411    /* Client setting NICK the first time */
1412    
# Line 1453 | Line 1453 | void
1453   change_local_nick(struct Client *client_p, struct Client *source_p, const char *nick)
1454   {
1455    int samenick = 0;
1456 +
1457    /*
1458 <  ** Client just changing his/her nick. If he/she is
1459 <  ** on a channel, send note of change to all clients
1460 <  ** on that channel. Propagate notice to other servers.
1461 <  */
1458 >   * Client just changing his/her nick.  If he/she is
1459 >   * on a channel, send note of change to all clients
1460 >   * on that channel.  Propagate notice to other servers.
1461 >   */
1462    if ((source_p->localClient->last_nick_change +
1463         ConfigFileEntry.max_nick_time) < CurrentTime)
1464      source_p->localClient->number_of_nick_changes = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines