mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
use some more psyc_object()
This commit is contained in:
parent
13846359c0
commit
15dd8c0ada
4 changed files with 16 additions and 3 deletions
|
@ -2675,9 +2675,14 @@ sAide(whom) {
|
|||
int ret;
|
||||
mapping aides = v("aides") || ([]);
|
||||
|
||||
// change local uniform to nick
|
||||
#if 0
|
||||
// change local uniform to nick ... isn't really correct like this
|
||||
array(mixed) u = parse_uniform(whom);
|
||||
if (u && is_localhost(lower_case(u[UHost]))) whom = u[UResource];
|
||||
#else
|
||||
object o = psyc_object(whom);
|
||||
if (o) whom = o->qName();
|
||||
#endif
|
||||
|
||||
t = lower_case(whom);
|
||||
if (aides[t]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue