diff --git a/place/cryptochat.c b/place/cryptochat.c index 6407bce..e2e6f26 100644 --- a/place/cryptochat.c +++ b/place/cryptochat.c @@ -1,4 +1,3 @@ -// this room lets people in who are either connected via a SSL/TLS // protocol or are coming from the localhost (probably SSH users). // // both cases are no absolute guarantee for safety.. it is still @@ -6,7 +5,17 @@ // // -lynX 2004 +#include + #define NAME "CryptoChat" #define SECURE + +// should work like this, but there's a bug to fix here... +// when trying to call https://psyced.org:33333/@cryptochat +// +//efine PLACE_HISTORY +#define PLACE_SCRATCHPAD +//efine PLACE_OWNED "ioerror" + #include diff --git a/world/drivers/ldmud/library/library.c b/world/drivers/ldmud/library/library.c index 94f6fde..7e1f720 100644 --- a/world/drivers/ldmud/library/library.c +++ b/world/drivers/ldmud/library/library.c @@ -15,6 +15,9 @@ inherit PRO_PATH "library2"; inherit PRO_PATH "http/library2"; #else +# ifdef __TLS__ +inherit NET_PATH "library/tls"; +# endif # ifdef SANDBOX inherit NET_PATH "library/sandbox"; # endif @@ -28,9 +31,6 @@ inherit NET_PATH "library/sasl"; # endif inherit NET_PATH "library/share"; inherit NET_PATH "library/signature"; -# ifdef __TLS__ -inherit NET_PATH "library/tls"; -# endif inherit NET_PATH "library/text"; inherit NET_PATH "library/time"; inherit NET_PATH "library/uniform"; diff --git a/world/net/library/dns.c b/world/net/library/dns.c index 02f1df7..a95fa0b 100644 --- a/world/net/library/dns.c +++ b/world/net/library/dns.c @@ -555,6 +555,8 @@ int is_localhost(string host) { // we should know all of our hostnames in advance for // security anyway return member(localhosts, lower_case(host)); + // that means that we have to restart the server each time + // the dial-up IP changes.. :( } #else int is_localhost(string host, closure callback, varargs array(mixed) extra) {