projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
info reset action added
[brisk.git]
/
web
/
Obj
/
brisk.phh
diff --git
a/web/Obj/brisk.phh
b/web/Obj/brisk.phh
index
efb360e
..
a8220f8
100644
(file)
--- a/
web/Obj/brisk.phh
+++ b/
web/Obj/brisk.phh
@@
-1643,6
+1643,12
@@
class Brisk
}
}
}
}
+ /*
+ function info_show($user, $user_login, $dt)
+
+ if success return assoc. array with "ret" => 0 and other fields
+ else return an assoc. array with "ret: != 0 and "mesg" with an error description
+ */
function info_show($user, $user_login, $dt)
{
GLOBAL $G_lang, $mlang_brisk, $G_base;
function info_show($user, $user_login, $dt)
{
GLOBAL $G_lang, $mlang_brisk, $G_base;
@@
-2078,10
+2084,10
@@
class Brisk
} while (0);
} // nick chat command
else if (strncmp($msg, "/info ", 6) == 0) {
} while (0);
} // nick chat command
else if (strncmp($msg, "/info ", 6) == 0) {
- $
guar
_user = substr($msg, 6);
+ $
info
_user = substr($msg, 6);
- error_log("here [" . $
guar_user.
"]");
- echo $this->info_show($user,
$guar_user
, $dt);
+ error_log("here [" . $
info_user."][".escsql(urldecode($info_user)).
"]");
+ echo $this->info_show($user,
urldecode($info_user)
, $dt);
}
else if (strncmp($msg, "/st ", 4) == 0) {
log_main("chatt_send BEGIN");
}
else if (strncmp($msg, "/st ", 4) == 0) {
log_main("chatt_send BEGIN");