mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 09:50:29 +00:00
If nick name is already in use, interpret this as "clienst still connected".
This commit is contained in:
parent
02b8e51562
commit
4f8ac179bf
@ -1,4 +1,4 @@
|
|||||||
# $Id: check-idle.e,v 1.1 2002/09/09 22:56:07 alex Exp $
|
# $Id: check-idle.e,v 1.2 2004/09/04 14:22:13 alex Exp $
|
||||||
|
|
||||||
spawn telnet localhost 6789
|
spawn telnet localhost 6789
|
||||||
expect {
|
expect {
|
||||||
@ -10,6 +10,7 @@ send "nick IdleTest\r"
|
|||||||
send "user idle . . :Idle-Test\r"
|
send "user idle . . :Idle-Test\r"
|
||||||
expect {
|
expect {
|
||||||
timeout { exit 1 }
|
timeout { exit 1 }
|
||||||
|
"433 * IdleTest :Nickname already in use" { exit 99 }
|
||||||
"376"
|
"376"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user