1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

should we do NAMEPREP automatically?

This commit is contained in:
psyc://psyced.org/~lynX 2011-07-31 10:46:36 +02:00
parent 61ef5ce041
commit 9f9bdc4e20
8 changed files with 18 additions and 12 deletions

View file

@ -132,6 +132,8 @@ static varargs void ready_freddie(vamixed ip) {
static void create() {
PROTECT("CREATE")
string t;
#ifndef __PIKE__
master = previous_object();
restore_object(DATA_PATH "library");
@ -259,9 +261,10 @@ static void create() {
#ifdef JABBER_PATH
register_target("xmpp:"+ myLowerCaseHost);
# ifdef _host_XMPP
register_localhost(lower_case(_host_XMPP));
register_target(lower_case(_host_XMPP));
register_target("xmpp:"+ lower_case(_host_XMPP));
t = NAMEPREP(_host_XMPP);
register_localhost(t);
register_target(t);
register_target("xmpp:"+ t);
# endif
#endif
// base64decode("test2000");