mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-08 19:41:00 +00:00
+
This commit is contained in:
parent
23b0214076
commit
8cf148e717
@ -1130,7 +1130,8 @@ echo "Extracting psyced data..."
|
||||
|
||||
if test -d .git
|
||||
then
|
||||
if ! test `realpath .` = $BASE_DIR
|
||||
# eh? what was 'realpath' supposed to be?
|
||||
if ! test `pwd` = $BASE_DIR
|
||||
then
|
||||
if git clone . $BASE_DIR && cp -a .git/config $BASE_DIR/.git
|
||||
then
|
||||
|
@ -1,6 +1,9 @@
|
||||
<PSYC:TEXTDB> ## vim:syntax=mail
|
||||
## Check utf-8: Praise Atatürk!
|
||||
|
||||
_warning_server_shutdown_temporary
|
||||
|Serverneustart: [_reason]
|
||||
|
||||
_status_circuit_encryption_cipher
|
||||
|Gratuliere! Deine Verbindung ist mit Folgenlosigkeit verschlüsselt.
|
||||
|
||||
|
@ -666,7 +666,7 @@ int xmpp_sendmsg(mixed target, string mc, mixed data, mapping vars,
|
||||
// need to have a different domain name
|
||||
} else if (is_localhost(u[UHost])) {
|
||||
unless (u[UUser]) {
|
||||
P0(("Intercepted %O to %O from %O\n", mc, target, source))
|
||||
P1(("Intercepted %O to %O from %O\n", mc, target, source))
|
||||
// 0 makes sendmsg try to relay via xmpp.scheme.psyced.org
|
||||
// but fippo doesn't like that
|
||||
return -4;
|
||||
@ -1053,7 +1053,8 @@ int bignum_cmp(string a, string b) {
|
||||
// allocating a local variable to "cache" it
|
||||
if (strlen(a) > strlen(b)) return 1;
|
||||
if (strlen(a) < strlen(b)) return -1;
|
||||
for (i=0; i<strlen(a); i++) if (a[i] == b[i]) break;
|
||||
for (i=0; i<strlen(a); i++) if (a[i] != b[i]) break;
|
||||
P4(("bignum_cmp\n%O vs\n%O at %O is %c vs %c\n", a, b, i, a[i], b[i]))
|
||||
if (a[i] > b[i]) return 1;
|
||||
return -1;
|
||||
}
|
||||
|
@ -139,7 +139,8 @@ msg(source, mc, data, vars, showingLog, target) {
|
||||
case "_failure_unsuccessful_delivery":
|
||||
case "_failure_unsuccessful_delivery_resolve":
|
||||
case "_failure_unsupported_function_root":
|
||||
unless (abbrev("_notice_forward", vars["_method_relay"])) {
|
||||
unless (stringp(vars["_method_relay"])
|
||||
&& abbrev("_notice_forward", vars["_method_relay"])) {
|
||||
t = "Root got "+ (vars["_method_relay"] || mc || "missing method");
|
||||
if (vars["_target_relay"]) t += " to "+ to_string(vars["_target_relay"]);
|
||||
if (vars["_source_relay"]) t += " from "+ to_string(vars["_source_relay"]);
|
||||
|
@ -138,6 +138,9 @@ parse_statuses(string data) {
|
||||
|
||||
o = send_to_user ? user : find_place(nick);
|
||||
|
||||
// show tweets on driver console..
|
||||
P1(("<%O> %O\n", o || nick, d["text"]))
|
||||
|
||||
// _message_twitter ? not so convincing.. a lot of the
|
||||
// things are converted rss newsfeeds, and when private
|
||||
// people are "chatting" over twitter, they are still
|
||||
|
Loading…
Reference in New Issue
Block a user