- Timestamp:
- 2010-06-11T15:12:27Z (14 years ago)
- Branches:
- master
- Children:
- 12b29db
- Parents:
- 70ac477
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_im.c
r70ac477 r1c8e5f7 114 114 } 115 115 116 /* Reset this one since the info may have changed. */ 117 iu->away_reply_timeout = 0; 118 116 119 bee_irc_channel_update( irc, NULL, iu ); 117 120 … … 320 323 static gboolean bee_irc_user_privmsg( irc_user_t *iu, const char *msg ) 321 324 { 325 const char *away; 326 322 327 if( iu->bu == NULL ) 323 328 return FALSE; 324 else if( set_getbool( &iu->irc->b->set, "paste_buffer" ) ) 329 330 if( ( away = irc_user_get_away( iu ) ) && 331 time( NULL ) >= iu->away_reply_timeout ) 332 { 333 irc_send_num( iu->irc, 301, "%s :%s", iu->nick, away ); 334 iu->away_reply_timeout = time( NULL ) + 335 set_getint( &iu->irc->b->set, "away_reply_timeout" ); 336 } 337 338 if( set_getbool( &iu->irc->b->set, "paste_buffer" ) ) 325 339 { 326 340 int delay;
Note: See TracChangeset
for help on using the changeset viewer.