read motd from file (multilanguage); auto reload changed serverinfo and motd files
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4527 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -420,6 +420,8 @@ void sendintro()
|
||||
0);
|
||||
sendstring(player1->name, p);
|
||||
sendstring(genpwdhash(player1->name, clientpassword, sessionid), p);
|
||||
const char *lang = getalias("LANG");
|
||||
sendstring(!lang || strlen(lang) != 2 ? "" : lang, p);
|
||||
putint(p, connectrole);
|
||||
clientpassword[0] = '\0';
|
||||
connectrole = CR_DEFAULT;
|
||||
|
||||
Reference in New Issue
Block a user