Changeset 834ff44
- Timestamp:
- 2005-11-17T14:37:59Z (19 years ago)
- Branches:
- master
- Children:
- e3a0e7e
- Parents:
- 685c4ef
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/CHANGES
r685c4ef r834ff44 3 3 - QUIT command now works before logging in. (Mainly an RFC-compliancy fix.) 4 4 - Hopefully slightly clearer handling of buddy add requests. 5 - set buddy_sendbuffer_delay now also supports milisecond precision. 5 6 6 7 Finished ... -
doc/user-guide/commands.xml
r685c4ef r834ff44 462 462 463 463 <bitlbee-setting name="buddy_sendbuffer_delay" type="integer"> 464 <description> 465 466 <para> 467 Tell BitlBee after how many seconds a buffered message should be sent. 464 <default>200</default> 465 466 <description> 467 468 <para> 469 Tell BitlBee after how many (mili)seconds a buffered message should be sent. Values greater than 5 will be interpreted as miliseconds, 5 and lower as seconds. 468 470 </para> 469 471 -
doc/user-guide/help.txt
r685c4ef r834ff44 437 437 ?set buddy_sendbuffer_delay 438 438 Type: integer 439 Default: 440 441 Tell BitlBee after how many seconds a buffered message should be sent.439 Default: 200 440 441 Tell BitlBee after how many (mili)seconds a buffered message should be sent. Values greater than 5 will be interpreted as miliseconds, 5 and lower as seconds. 442 442 443 443 See also the buddy_sendbuffer setting. -
doc/user-guide/user-guide.html
r685c4ef r834ff44 332 332 Please note that if you remove a buddy from your list (or if the connection to that user drops) and there's still data in the buffer, this data will be lost. BitlBee will not try to send the message to the user in those cases. 333 333 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="set_buddy_sendbuffer_delay"></a>buddy_sendbuffer_delay</h2></div></div></div><table class="simplelist" border="0" summary="Simple list"><tr><td>Type: integer</td></tr></table><p> 334 Tell BitlBee after how many seconds a buffered message should be sent.334 Tell BitlBee after how many (mili)seconds a buffered message should be sent. Values greater than 5 will be interpreted as miliseconds, 5 and lower as seconds. 335 335 </p><p> 336 336 See also the <span class="emphasis"><em>buddy_sendbuffer</em></span> setting. -
doc/user-guide/user-guide.txt
r685c4ef r834ff44 801 801 Type: integer 802 802 803 Tell BitlBee after how many seconds a buffered message should be sent. 803 Tell BitlBee after how many (mili)seconds a buffered message should be sent. 804 Values greater than 5 will be interpreted as miliseconds, 5 and lower as 805 seconds. 804 806 805 807 See also the buddy_sendbuffer setting. -
irc.c
r685c4ef r834ff44 115 115 set_add( irc, "auto_reconnect_delay", "300", set_eval_int ); 116 116 set_add( irc, "buddy_sendbuffer", "false", set_eval_bool ); 117 set_add( irc, "buddy_sendbuffer_delay", " 1", set_eval_int );117 set_add( irc, "buddy_sendbuffer_delay", "200", set_eval_int ); 118 118 set_add( irc, "charset", "iso8859-1", set_eval_charset ); 119 119 set_add( irc, "debug", "false", set_eval_bool ); … … 1428 1428 if( set_getint( irc, "buddy_sendbuffer" ) && set_getint( irc, "buddy_sendbuffer_delay" ) > 0 ) 1429 1429 { 1430 int delay; 1431 1430 1432 if( u->sendbuf_len > 0 && u->sendbuf_flags != flags) 1431 1433 { … … 1451 1453 strcat( u->sendbuf, "\n" ); 1452 1454 1455 delay = set_getint( irc, "buddy_sendbuffer_delay" ); 1456 if( delay <= 5 ) 1457 delay *= 1000; 1458 1453 1459 if( u->sendbuf_timer > 0 ) 1454 1460 g_source_remove( u->sendbuf_timer ); 1455 u->sendbuf_timer = g_timeout_add( set_getint( irc, "buddy_sendbuffer_delay" ) * 1000, 1456 buddy_send_handler_delayed, u ); 1461 u->sendbuf_timer = g_timeout_add( delay, buddy_send_handler_delayed, u ); 1457 1462 1458 1463 return( 1 );
Note: See TracChangeset
for help on using the changeset viewer.