Fixes:
* Compiler warning when RPMODE_SYS enabled [AEJ]
* Recently introduced bug in channel connect/disconnect broadcasts [AEJ]
+ * @prog could not use attribute trees from parent objects [AEJ]
notify(player, "No such attribute.");
notify(player, s);
return;
- } else if (!Can_Write_Attr(player, thing, patr)) {
+ } else if (!Can_Read_Attr(player, thing, patr)) {
notify(player, "Permission denied.");
return;
}
else if ((patr = atr_get(thing, upcasestr(args[2]))) == NULL) {
safe_str("#-1 NO SUCH ATTRIB", buff, bp);
return;
- } else if (!Can_Write_Attr(executor, thing, patr)) {
+ } else if (!Can_Read_Attr(executor, thing, patr)) {
safe_str("#-1 PERMISSION DENIED", buff, bp);
return;
}