Changeset 7125cb3 for root_commands.c
- Timestamp:
- 2008-08-24T18:01:05Z (16 years ago)
- Branches:
- master
- Children:
- f3579fd
- Parents:
- 934dddf3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r934dddf3 r7125cb3 610 610 irc->mynick = g_strdup( cmd[2] ); 611 611 612 /* If we're called internally (user did "set root_nick"), 613 let's not go O(INF). :-) */ 612 614 if( strcmp( cmd[0], "set_rename" ) != 0 ) 613 615 set_setstr( &irc->set, "root_nick", cmd[2] ); … … 633 635 } 634 636 635 return strcmp( irc->mynick, new_nick ) == 0 ? new_nick : NULL;637 return strcmp( irc->mynick, new_nick ) == 0 ? new_nick : SET_INVALID; 636 638 } 637 639
Note: See TracChangeset
for help on using the changeset viewer.