_failure_necessary_variable just for _Tycho_

This commit is contained in:
psyc://psyced.org/~lynX 2009-11-08 19:03:25 +01:00
parent 7b3b955117
commit 7bcd5852f4
3 changed files with 30 additions and 23 deletions

View File

@ -744,6 +744,9 @@ _error_illegal_password_size
_error_necessary_registration
|Tut mir Leid, das geht erst nach Registrierung.
_failure_necessary_variable
|Unvollständige Anfrage.
_error_necessary_nick_place
|Du kannst hier nicht einfach hereinlaufen ohne einen anständigen Spitznamen!

View File

@ -626,7 +626,10 @@ _failure_filter_strangers
|[_nick] has not enabled messages from strangers.
_failure_necessary_registration
|[_nick_target] cannot handle friendships yet.
|[_nick_target] is no registered user yet.
_failure_necessary_variable
|Your request is incomplete.
_failure_unsuccessful_delivery
|Could not establish a circuit to [_host] to deliver a [_method_relay] to [_source].

View File

@ -1046,18 +1046,6 @@ cmd(a, args, dest, command) {
return 1;
}
break;
// experimental new way to log out without logging out.
// may very well not work as planned
case "det":
case "detach":
//availability = AVAILABILITY_OFFLINE;
remove_interactive(ME);
//break;
// used to fall thru to declare myself offline as well..
// now you have to declare yourself offline manually
// no you don't. if availability isn't offline the
// disconnect() handler will clean you out!
// fall thru
#endif
#ifndef _flag_disable_module_friendship
case "shout":
@ -1068,9 +1056,19 @@ cmd(a, args, dest, command) {
"Usage: /shout <message-to-your-friends>");
break;
# ifndef _flag_disable_module_presence
case "presence":
showMyPresence(1);
return 1;
// experimental new way to log out without logging out.
// may very well not work as planned
// detach for psyc clients: _do_presence offline + _unlink
case "det":
case "detach":
//availability = AVAILABILITY_OFFLINE;
remove_interactive(ME);
//break;
// used to fall thru to declare myself offline as well..
// 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
case "offline":
announce(AVAILABILITY_OFFLINE, 1, 1, ARGS(1));
return 1;
@ -1157,6 +1155,9 @@ cmd(a, args, dest, command) {
// this command is normally accessed as /mynick
// as it behaves similarely to /me
return motto(ARGS(1));
case "presence":
showMyPresence(1);
return 1;
# endif /* _flag_disable_module_presence */
case "cancel":
case "can":
@ -1770,8 +1771,8 @@ case "_presence":
return 1;
}
P1(("got invalid %O: %O, %O\n", mc, vars, data))
// complain about missing args?
return 0;
w("_failure_necessary_variable");
return 1;
#endif // _flag_disable_module_presence
case "_list_peers_JSON":
listAcq(PPL_JSON);