Changeset f5c0d8e for irc_commands.c
- Timestamp:
- 2010-08-31T20:06:14Z (14 years ago)
- Branches:
- master
- Children:
- 0c85c08
- Parents:
- 8358691 (diff), 31dbb90a (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
-
irc_commands.c
r8358691 rf5c0d8e 302 302 char *channel = cmd[1]; 303 303 irc_channel_t *ic; 304 irc_user_t *iu; 304 305 305 306 if( !channel || *channel == '0' || *channel == '*' || !*channel ) … … 307 308 else if( ( ic = irc_channel_by_name( irc, channel ) ) ) 308 309 irc_send_who( irc, ic->users, channel ); 310 else if( ( iu = irc_user_by_name( irc, channel ) ) ) 311 { 312 /* Tiny hack! */ 313 GSList *l = g_slist_append( NULL, iu ); 314 irc_send_who( irc, l, channel ); 315 g_slist_free( l ); 316 } 309 317 else 310 318 irc_send_num( irc, 403, "%s :No such channel", channel );
Note: See TracChangeset
for help on using the changeset viewer.