Changes in nick.c [d06eabf:d323394c]
Legend:
- Unmodified
- Added
- Removed
-
nick.c
rd06eabf rd323394c 57 57 static char nick[MAX_NICK_LENGTH+1]; 58 58 char *store_handle, *found_nick; 59 int inf_protection = 256; 59 60 60 61 memset( nick, 0, MAX_NICK_LENGTH + 1 ); … … 81 82 } 82 83 g_free( store_handle ); 83 84 /* Make sure the nick doesn't collide with an existing one by adding85 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;94 84 95 85 /* Now, find out if the nick is already in use at the moment, and make … … 130 120 } 131 121 } 122 123 return nick; 132 124 } 133 125
Note: See TracChangeset
for help on using the changeset viewer.