mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-12-04 16:12:20 +00:00
don't panic about idn
This commit is contained in:
parent
c64d8cc3c6
commit
eba0982e03
@ -16,7 +16,8 @@ psyconf - a configuration tool for PSYCED
|
|||||||
|
|
||||||
Usage: psyconf [ <file> ]
|
Usage: psyconf [ <file> ]
|
||||||
|
|
||||||
The default configuration file used is /etc/psyced.ini
|
The default configuration file used is either ./psyced.ini
|
||||||
|
or /etc/psyc/psyced.ini
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
# (sort of like cgi) with LDMUD. but by now LDMUD knows how
|
# (sort of like cgi) with LDMUD. but by now LDMUD knows how
|
||||||
# to do MD5 and SHA1 itself, so they are not being used.
|
# to do MD5 and SHA1 itself, so they are not being used.
|
||||||
#
|
#
|
||||||
|
# consult http://about.psyc.eu/spawn for instructions
|
||||||
|
#
|
||||||
use Digest::MD5 qw(md5 md5_hex);
|
use Digest::MD5 qw(md5 md5_hex);
|
||||||
|
|
||||||
$| = 1;
|
$| = 1;
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
# (sort of like cgi) with LDMUD. but by now LDMUD knows how
|
# (sort of like cgi) with LDMUD. but by now LDMUD knows how
|
||||||
# to do MD5 and SHA1 itself, so they are not being used.
|
# to do MD5 and SHA1 itself, so they are not being used.
|
||||||
#
|
#
|
||||||
|
# consult http://about.psyc.eu/spawn for instructions
|
||||||
|
#
|
||||||
use Digest::SHA1 qw(sha1 sha1_hex);
|
use Digest::SHA1 qw(sha1 sha1_hex);
|
||||||
|
|
||||||
$| = 1;
|
$| = 1;
|
||||||
|
@ -64,7 +64,6 @@
|
|||||||
# define NAMEPREP(s) FROM_UTF8(idna_stringprep(TO_UTF8(s), STRINGPREP_NAMEPREP))
|
# define NAMEPREP(s) FROM_UTF8(idna_stringprep(TO_UTF8(s), STRINGPREP_NAMEPREP))
|
||||||
# define RESOURCEPREP(s) FROM_UTF8(idna_stringprep(TO_UTF8(s), STRINGPREP_XMPP_RESOURCEPREP))
|
# define RESOURCEPREP(s) FROM_UTF8(idna_stringprep(TO_UTF8(s), STRINGPREP_XMPP_RESOURCEPREP))
|
||||||
#else
|
#else
|
||||||
# echo Warning: using lower_case instead of idna_stringprep!
|
|
||||||
# define NODEPREP(s) lower_case(s)
|
# define NODEPREP(s) lower_case(s)
|
||||||
# define NAMEPREP(s) lower_case(s)
|
# define NAMEPREP(s) lower_case(s)
|
||||||
# define RESOURCEPREP(s) (s)
|
# define RESOURCEPREP(s) (s)
|
||||||
|
@ -4,6 +4,10 @@
|
|||||||
#include "presence.h"
|
#include "presence.h"
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
#if !__EFUN_DEFINED__(idna_stringprep)
|
||||||
|
# echo Warning: idn support as recommended for XMPP is missing from LPC driver. will try lower_case() instead. usually works.
|
||||||
|
#endif
|
||||||
|
|
||||||
// necessary to implement a minimum set of commands for remote jabber users
|
// necessary to implement a minimum set of commands for remote jabber users
|
||||||
// #undef USER_PROGRAM
|
// #undef USER_PROGRAM
|
||||||
// #undef MYNICK
|
// #undef MYNICK
|
||||||
|
Loading…
Reference in New Issue
Block a user