mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-09 20:11:00 +00:00
fix for /detach
This commit is contained in:
parent
2a6e327d1f
commit
f57f84e28d
@ -1163,7 +1163,7 @@ vamixed startParse(string a) {
|
||||
else {
|
||||
PT(("PSYC startParse got %O from %O\n", a, query_ip_number()))
|
||||
croak("_error_syntax_initialization",
|
||||
"The protocol begins with a dot on a line by itself.");
|
||||
"The old protocol begins with a dot on a line by itself.");
|
||||
// experiencing a loop here, because some implementations
|
||||
// try immediate reconnect. idea: in most places where we
|
||||
// QUIT we should put the tcp link on hold instead, and
|
||||
|
@ -360,7 +360,7 @@ void step() {
|
||||
step();
|
||||
} else {
|
||||
croak("_error_syntax_initialization",
|
||||
"The protocol begins with a pipe and a line feed.");
|
||||
"The new protocol begins with a pipe and a line feed.");
|
||||
}
|
||||
break;
|
||||
default: // uhm... if we ever get here this is the programmers fault
|
||||
|
@ -1068,7 +1068,10 @@ cmd(a, args, dest, command) {
|
||||
// now you have to declare yourself offline manually
|
||||
// no you don't. if availability isn't offline the
|
||||
// disconnected() handler will clean you out!
|
||||
// fall thru
|
||||
// ok let's do it manually.. see if we get in trouble later.
|
||||
availability = AVAILABILITY_OFFLINE;
|
||||
// yes v("availability") is retained.. maybe useful later
|
||||
return 1;
|
||||
case "offline":
|
||||
announce(AVAILABILITY_OFFLINE, 1, 1, ARGS(1));
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user