- Timestamp:
- 2007-11-19T23:16:18Z (17 years ago)
- Branches:
- master
- Children:
- 7df5a08
- Parents:
- cd428e4 (diff), ef5c185 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nick.c
rcd428e4 r256899f 57 57 static char nick[MAX_NICK_LENGTH+1]; 58 58 char *store_handle, *found_nick; 59 int inf_protection = 256;60 59 61 60 memset( nick, 0, MAX_NICK_LENGTH + 1 ); … … 82 81 } 83 82 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; 84 94 85 95 /* Now, find out if the nick is already in use at the moment, and make … … 120 130 } 121 131 } 122 123 return nick;124 132 } 125 133
Note: See TracChangeset
for help on using the changeset viewer.