Changeset 09d4922 for root_commands.c
- Timestamp:
- 2010-11-21T19:34:59Z (13 years ago)
- Branches:
- master
- Children:
- 9564e55
- Parents:
- bdedc14
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
rbdedc14 r09d4922 274 274 static void cmd_showset( irc_t *irc, set_t **head, char *key ) 275 275 { 276 set_t *set; 276 277 char *val; 277 278 278 279 if( ( val = set_getstr( head, key ) ) ) 279 280 irc_usermsg( irc, "%s = `%s'", key, val ); 280 else if( ! set_find( head, key) )281 else if( !( set = set_find( head, key ) ) ) 281 282 { 282 283 irc_usermsg( irc, "Setting `%s' does not exist.", key ); … … 285 286 "See \x02help account set\x02 and \x02help channel set\x02." ); 286 287 } 288 else if( set->flags & SET_PASSWORD ) 289 irc_usermsg( irc, "%s = `********' (hidden)", key ); 287 290 else 288 291 irc_usermsg( irc, "%s is empty", key );
Note: See TracChangeset
for help on using the changeset viewer.