Changeset f7ca587 for root_commands.c
- Timestamp:
- 2010-07-29T18:18:54Z (14 years ago)
- Branches:
- master
- Children:
- 1521a85
- Parents:
- 2fe5eb9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r2fe5eb9 rf7ca587 560 560 /* If this doesn't match any channel, maybe this is the short 561 561 syntax (only works when used inside a channel). */ 562 if( ( len = strlen( cmd[1] )) &&563 g_strncasecmp( cmd[1], "set", len ) == 0&&564 ( ic = irc_channel_by_name( irc, irc->last_root_cmd ) ))562 if( ( ic = irc->root->last_channel ) && 563 ( len = strlen( cmd[1] ) ) && 564 g_strncasecmp( cmd[1], "set", len ) == 0 ) 565 565 cmd_set_real( irc, cmd + 1, &ic->set, NULL ); 566 566 else … … 642 642 char *s, *group = NULL;; 643 643 644 if( ( ic = irc _channel_by_name( irc, irc->last_root_cmd )) &&644 if( ( ic = irc->root->last_channel ) && 645 645 ( s = set_getstr( &ic->set, "fill_by" ) ) && 646 646 strcmp( s, "group" ) == 0 &&
Note: See TracChangeset
for help on using the changeset viewer.