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

@ -277,6 +277,7 @@ logon() {
#endif
nodeHandler = #'jabberMsg;
set_prompt("");
// we shouldn't have to NAMEPREP our SERVER_HOST for each new user.. FIXME
myjid = NODEPREP(MYLOWERNICK) +"@" + NAMEPREP(SERVER_HOST);
myjidresource = myjid +"/"+ RESOURCEPREP(resource);
P2(("%O ready to rumble (%O)\n", myjidresource, ME))