ID:1718300
 
BYOND Version:507
Operating System:Windows 7 Home Premium 64-bit
Web Browser:Chrome 40.0.2209.0
Applies to:Reference
Status: Open

Issue hasn't been assigned a status value.
The reference states that world.OpenPort(port) returns 1 or 0 on success or fail; in reality, in returns the port in any case where it doesn't return 0.

mob
verb
setPort(g as num)
world << world.OpenPort(g)