arianne / stendhal

Stendhal is a fun friendly and free multiplayer online adventure game with an old school feel.
https://arianne-project.org
GNU General Public License v2.0
593 stars 200 forks source link

GMs Cannot Unset "away" Status #179

Open AntumDeluge opened 6 years ago

AntumDeluge commented 6 years ago

I was testing on my local server today & came across an issue with remove away status using the alter command as a GM:

/alter <player> away set (sets player status to "away" without a message)
/alter <player> away set message (sets player status to "away" with message)
/alter <player> away unset (ERROR: "Attribute to be unset is not of type 'flag'.")
/alter <player> away sub (does nothing)

(issue mirrored on SourceForge)

nhnb commented 6 years ago

Is it really a good idea to allow a GM to unset away status of a player?

AntumDeluge commented 6 years ago

Why not, if they can already set it?

There was something I was trying to test when this came up. But I don't remember what it was.