mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 17:46:36 +00:00
Fix for perl scripts passing non-client objects to API handler for MovePC and MovePCInstance. [Fixes #127]
This commit is contained in:
+1
-2
@@ -253,8 +253,7 @@ void Doors::HandleClick(Client* sender, uint8 trigger)
|
||||
strcpy(tmpmsg, "Door is locked by an unknown guild");
|
||||
}
|
||||
sender->Message(4, tmpmsg);
|
||||
// safe_delete(outapp);
|
||||
// /\ possible missing line..all other 'fail' returns seem to have it
|
||||
safe_delete(outapp);
|
||||
return;
|
||||
}
|
||||
// a key is required or the door is locked but can be picked or both
|
||||
|
||||
Reference in New Issue
Block a user