chiark
/
gitweb
/
~mdw
/
ircbot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Start with zero credit.
[ircbot]
/
bot.tcl
diff --git
a/bot.tcl
b/bot.tcl
index 29fc54c4cb8c9b07b7a52a1e9a3024c94160b1b4..8a1f76e6e3226453a380e603acf9f99e90c9e9b7 100755
(executable)
--- a/
bot.tcl
+++ b/
bot.tcl
@@
-1379,7
+1379,7
@@
proc ensure_globalsecret {} {
proc ensure_outqueue {} {
out__vars
if {[info exists out_queue]} return
- set out_creditms
[expr {$out_maxburst*$out_interval}]
+ set out_creditms
0
set out_creditat [clock seconds]
set out_queue {}
set out_lag_reported 0