minor fix

This commit is contained in:
psyc://psyced.org/~lynX 2011-01-26 02:11:32 +01:00
parent d83ef160db
commit 73b25d07af
2 changed files with 6 additions and 2 deletions

View File

@ -1048,7 +1048,7 @@ case "_request_location":
return 0;
case "_request_link":
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
// current_interactive to become aware of disconnects?
// at least if the current interactive is not a server2server

View File

@ -1336,7 +1336,11 @@ w(string mc, string data, mapping vars, mixed source, int showingLog) {
string nudata = data;
// 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;
//PT(("%O user:w(%O,%O..%O) - %O\n", ME,mc,data,source, template))