mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
expect TLS autodetect only when libpsyc is compiled in (fixes alice' dot bug)
This commit is contained in:
parent
47232884b9
commit
069a3b66ae
6 changed files with 39 additions and 38 deletions
|
@ -35,7 +35,7 @@ private volatile mapping temp_state;
|
|||
inherit NET_PATH "state";
|
||||
#endif
|
||||
|
||||
#ifdef USE_SPYC
|
||||
#if __EFUN_DEFINED__(psyc_parse)
|
||||
mapping _state; // should probably merge with ifdef CONTEXT_STATE..
|
||||
#endif
|
||||
|
||||
|
@ -47,7 +47,7 @@ void create() {
|
|||
unless(mappingp(cast_state)) cast_state = ([ ]);
|
||||
unless(mappingp(temp_state)) temp_state = ([ ]);
|
||||
#endif
|
||||
#ifdef USE_SPYC
|
||||
#if __EFUN_DEFINED__(psyc_parse)
|
||||
unless(mappingp(_state)) _state = ([ ]);
|
||||
#endif
|
||||
}
|
||||
|
@ -273,7 +273,7 @@ void Diminish(mixed source, string key, mixed value) {
|
|||
|
||||
#endif // }}}
|
||||
|
||||
#ifdef USE_SPYC
|
||||
#if __EFUN_DEFINED__(psyc_parse)
|
||||
get_state() {
|
||||
PT(("cstate for %O picked up by %O: %O\n", ME,
|
||||
previous_object(), _state))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue