chiark
/
gitweb
/
~ijackson
/
ircbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5eb5ef
)
Make message clearer.
author
ijackson
<ijackson>
Wed, 16 Aug 2000 00:57:18 +0000
(
00:57
+0000)
committer
ijackson
<ijackson>
Wed, 16 Aug 2000 00:57:18 +0000
(
00:57
+0000)
bot.tcl
patch
|
blob
|
history
diff --git
a/bot.tcl
b/bot.tcl
index 54cda6386863a2294d339230e984cd97907dd0ca..87d8545268a7f3f799752d4147fc4ad85a9227da 100755
(executable)
--- a/
bot.tcl
+++ b/
bot.tcl
@@
-421,7
+421,7
@@
def_ucmd summon {
error $rv
}
if {[regexp {^problem (.*)} $rv dummy problem]} {
- ucmdr {} "
$target
$problem."
+ ucmdr {} "
The user `$target'
$problem."
} elseif {[regexp {^ok ([^ ]+) ([0-9]+)$} $rv dummy tty idlesince]} {
set idletime [expr {$now - $idlesince}]
set ls $now