mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-09 12:01:00 +00:00
minor fix
This commit is contained in:
parent
d83ef160db
commit
73b25d07af
@ -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
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user