_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 _error_necessary_registration
|Tut mir Leid, das geht erst nach Registrierung. |Tut mir Leid, das geht erst nach Registrierung.
_failure_necessary_variable
|Unvollständige Anfrage.
_error_necessary_nick_place _error_necessary_nick_place
|Du kannst hier nicht einfach hereinlaufen ohne einen anständigen Spitznamen! |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. |[_nick] has not enabled messages from strangers.
_failure_necessary_registration _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 _failure_unsuccessful_delivery
|Could not establish a circuit to [_host] to deliver a [_method_relay] to [_source]. |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; return 1;
} }
break; 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 #endif
#ifndef _flag_disable_module_friendship #ifndef _flag_disable_module_friendship
case "shout": case "shout":
@ -1068,9 +1056,19 @@ cmd(a, args, dest, command) {
"Usage: /shout <message-to-your-friends>"); "Usage: /shout <message-to-your-friends>");
break; break;
# ifndef _flag_disable_module_presence # ifndef _flag_disable_module_presence
case "presence": // experimental new way to log out without logging out.
showMyPresence(1); // may very well not work as planned
return 1; // 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": case "offline":
announce(AVAILABILITY_OFFLINE, 1, 1, ARGS(1)); announce(AVAILABILITY_OFFLINE, 1, 1, ARGS(1));
return 1; return 1;
@ -1157,6 +1155,9 @@ cmd(a, args, dest, command) {
// this command is normally accessed as /mynick // this command is normally accessed as /mynick
// as it behaves similarely to /me // as it behaves similarely to /me
return motto(ARGS(1)); return motto(ARGS(1));
case "presence":
showMyPresence(1);
return 1;
# endif /* _flag_disable_module_presence */ # endif /* _flag_disable_module_presence */
case "cancel": case "cancel":
case "can": case "can":
@ -1770,8 +1771,8 @@ case "_presence":
return 1; return 1;
} }
P1(("got invalid %O: %O, %O\n", mc, vars, data)) P1(("got invalid %O: %O, %O\n", mc, vars, data))
// complain about missing args? w("_failure_necessary_variable");
return 0; return 1;
#endif // _flag_disable_module_presence #endif // _flag_disable_module_presence
case "_list_peers_JSON": case "_list_peers_JSON":
listAcq(PPL_JSON); listAcq(PPL_JSON);