Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • nick.c

    rd06eabf rd323394c  
    5757        static char nick[MAX_NICK_LENGTH+1];
    5858        char *store_handle, *found_nick;
     59        int inf_protection = 256;
    5960       
    6061        memset( nick, 0, MAX_NICK_LENGTH + 1 );
     
    8182        }
    8283        g_free( store_handle );
    83        
    84         /* Make sure the nick doesn't collide with an existing one by adding
    85            underscores and that kind of stuff, if necessary. */
    86         nick_dedupe( acc, handle, nick );
    87        
    88         return nick;
    89 }
    90 
    91 void nick_dedupe( account_t *acc, const char *handle, char nick[MAX_NICK_LENGTH+1] )
    92 {
    93         int inf_protection = 256;
    9484       
    9585        /* Now, find out if the nick is already in use at the moment, and make
     
    130120                }
    131121        }
     122       
     123        return nick;
    132124}
    133125
Note: See TracChangeset for help on using the changeset viewer.