Changeset f5c0d8e for irc_send.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_send.c
r8358691 rf5c0d8e 264 264 void irc_send_who( irc_t *irc, GSList *l, const char *channel ) 265 265 { 266 gboolean is_channel = strc mp( channel, "**" ) != 0;266 gboolean is_channel = strchr( CTYPES, channel[0] ) != NULL; 267 267 268 268 while( l ) … … 273 273 /* TODO(wilmer): Restore away/channel information here */ 274 274 irc_send_num( irc, 352, "%s %s %s %s %s %c :0 %s", 275 channel ?: "*", iu->user, iu->host, irc->root->host,275 is_channel ? channel : "*", iu->user, iu->host, irc->root->host, 276 276 iu->nick, iu->flags & IRC_USER_AWAY ? 'G' : 'H', 277 277 iu->fullname ); … … 398 398 irc_write( ic->irc, ":%s MODE %s %s", from, ic->name, changes ); 399 399 } 400 401 void irc_send_invite( irc_user_t *iu, irc_channel_t *ic ) 402 { 403 irc_t *irc = iu->irc; 404 405 irc_write( iu->irc, ":%s!%s@%s INVITE %s :%s", 406 iu->nick, iu->user, iu->host, irc->user->nick, ic->name ); 407 }
Note: See TracChangeset
for help on using the changeset viewer.