who knows.. maybe less code means more predictable code ;)

This commit is contained in:
psyc://psyced.org/~lynX 2009-05-10 11:04:53 +02:00
parent 504050b041
commit 6c3b2af9ac
3 changed files with 12 additions and 1 deletions

View File

@ -340,6 +340,12 @@ WINDOWS DISTRIBUTION
? how can we compile SRV into erq.exe? do we care? ? how can we compile SRV into erq.exe? do we care?
? which open source installer for win to use? ? which open source installer for win to use?
? what to do about psyconf.. include perl or re-implement psyconf for win? ? what to do about psyconf.. include perl or re-implement psyconf for win?
TWITTER
+ resolve redirect-urls before forwarding to subscriptions, that means,
calling http/fetch on http://tr.im/whatever urls until it no longer
returns a 30x redirection code. [improves privacy btw, since all those
redirect services log your access for the one who installs them]
________________________________________________________________________ ________________________________________________________________________
== OTHER MAJOR TODOS =================================================== == OTHER MAJOR TODOS ===================================================
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

View File

@ -1312,7 +1312,7 @@ msg(source, mc, data, mapping vars) {
if (isValidRelay(source) if (isValidRelay(source)
|| isValidRelay(vars["_source_relay"]) || isValidRelay(vars["_source_relay"])
|| isValidRelay(vars["_context"])) { || isValidRelay(vars["_context"])) {
P1(("yes. cast & out.\n")) P1(("yes. cast & out: %O in %O\n", source, ME))
return castPresence(source, mc, data, vars, return castPresence(source, mc, data, vars,
// don't broadcast the user's presence // don't broadcast the user's presence
!neu || v("_filter_presence")); !neu || v("_filter_presence"));

View File

@ -1895,6 +1895,7 @@ motto(t) {
} }
private talk(to, handleAliases) { private talk(to, handleAliases) {
// check if we are already in a query with this person.. here?
if (to) { if (to) {
string tn; string tn;
// looking for a bug.. intermediate hack here.. // looking for a bug.. intermediate hack here..
@ -3426,6 +3427,7 @@ teleport(where, mcv, quiet, stay, morevars) {
} }
unless(mcv) mcv = ""; unless(mcv) mcv = "";
if (place && member(places, place)) { if (place && member(places, place)) {
#ifndef EXPERIMENTAL // ALTE_SCHULE
if (place == where) { if (place == where) {
P3(("teleport: %O is already in %O\n", ME, place)) P3(("teleport: %O is already in %O\n", ME, place))
// why error.. this should be a _warning !! // why error.. this should be a _warning !!
@ -3438,6 +3440,7 @@ teleport(where, mcv, quiet, stay, morevars) {
// here's a kludge to not return in that case: // here's a kludge to not return in that case:
unless (morevars) return; unless (morevars) return;
} }
#endif
if (NICKPLACE) { if (NICKPLACE) {
vSet("lastplace", NICKPLACE); vSet("lastplace", NICKPLACE);
unless (stay) { unless (stay) {
@ -3463,8 +3466,10 @@ teleport(where, mcv, quiet, stay, morevars) {
if (places[where]) { if (places[where]) {
place = where; place = where;
vSet("place", objectp(where) ? where->qName() : where); vSet("place", objectp(where) ? where->qName() : where);
#ifndef EXPERIMENTAL // ALTE_SCHULE
unless(quiet) showRoom(); unless(quiet) showRoom();
return place; return place;
#endif
} }
return placeRequest(where, return placeRequest(where,
#ifdef SPEC #ifdef SPEC