- Timestamp:
- 2007-06-04T13:22:05Z (17 years ago)
- Branches:
- master
- Children:
- e0e2a71
- Parents:
- 54f2f55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nick.c
r54f2f55 rd06eabf 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.