Changeset e4f5ca8 for root_commands.c
- Timestamp:
- 2013-02-10T12:48:32Z (11 years ago)
- Branches:
- master
- Children:
- 12f500f, 65a5d15
- Parents:
- be98957 (diff), 875ba16 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
rbe98957 re4f5ca8 1290 1290 } 1291 1291 irc_rootmsg( irc, "End of group list" ); 1292 } 1293 else if( g_strncasecmp(cmd[1], "info", len ) == 0 ) 1294 { 1295 bee_group_t *bg; 1296 int n = 0; 1297 1298 MIN_ARGS(2); 1299 bg = bee_group_by_name( irc->b, cmd[2], FALSE ); 1300 1301 if( bg ) 1302 { 1303 if( strchr(irc->umode, 'b') ) 1304 irc_rootmsg( irc, "Members of %s:", cmd[2] ); 1305 for( l = irc->b->users; l; l = l->next ) 1306 { 1307 bee_user_t *bu = l->data; 1308 if( bu->group == bg ) 1309 irc_rootmsg( irc, "%d. %s", n ++, bu->nick ? : bu->handle ); 1310 } 1311 irc_rootmsg( irc, "End of member list" ); 1312 } 1313 else 1314 irc_rootmsg( irc, "Unknown group: %s. Please use \x02group list\x02 to get a list of available groups.", cmd[2] ); 1292 1315 } 1293 1316 else
Note: See TracChangeset
for help on using the changeset viewer.