mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
minor fix
This commit is contained in:
parent
d83ef160db
commit
73b25d07af
2 changed files with 6 additions and 2 deletions
|
@ -1048,7 +1048,7 @@ case "_request_location":
|
||||||
return 0;
|
return 0;
|
||||||
case "_request_link":
|
case "_request_link":
|
||||||
case "_set_password":
|
case "_set_password":
|
||||||
PT(("_request_link for %O\n", ME))
|
P3(("_request_link for %O. vars %O\n", ME, vars))
|
||||||
// TODO: shouldn't we use some kind of observer pattern on the
|
// TODO: shouldn't we use some kind of observer pattern on the
|
||||||
// current_interactive to become aware of disconnects?
|
// current_interactive to become aware of disconnects?
|
||||||
// at least if the current interactive is not a server2server
|
// at least if the current interactive is not a server2server
|
||||||
|
|
|
@ -1336,7 +1336,11 @@ w(string mc, string data, mapping vars, mixed source, int showingLog) {
|
||||||
string nudata = data;
|
string nudata = data;
|
||||||
|
|
||||||
// this little thing enables languages for psyc clients etc.
|
// this little thing enables languages for psyc clients etc.
|
||||||
if (template && strlen(template) && !abbrev("_message", mc))
|
// but we really need to get rid of the special cases in the
|
||||||
|
// protocol syntax
|
||||||
|
if (template && strlen(template)
|
||||||
|
&& !abbrev("_message", mc)
|
||||||
|
&& !abbrev("_request", mc))
|
||||||
nudata = template;
|
nudata = template;
|
||||||
|
|
||||||
//PT(("%O user:w(%O,%O..%O) - %O\n", ME,mc,data,source, template))
|
//PT(("%O user:w(%O,%O..%O) - %O\n", ME,mc,data,source, template))
|
||||||
|
|
Loading…
Reference in a new issue