Changeset c92ee728
- Timestamp:
- 2013-07-01T22:43:02Z (11 years ago)
- Branches:
- master
- Children:
- a685409
- Parents:
- ea166fe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_im.c
rea166fe rc92ee728 71 71 iu->host = g_strdup( bu->ic->acc->server ); 72 72 else 73 iu->host = g_strdup( bu->ic->acc->prpl->name ); 73 { 74 char *s; 75 for( s = bu->ic->acc->tag; isalnum( *s ); s ++ ); 76 /* Only use the tag if we got to the end of the string. 77 (So allow alphanumerics only. Hopefully not too 78 restrictive.) */ 79 if( *s ) 80 iu->host = g_strdup( bu->ic->acc->prpl->name ); 81 else 82 iu->host = g_strdup( bu->ic->acc->tag ); 83 } 74 84 } 75 85
Note: See TracChangeset
for help on using the changeset viewer.