diff options
Diffstat (limited to 'src/player.cpp')
-rw-r--r-- | src/player.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player.cpp b/src/player.cpp index 12f18de75..147b6c97a 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -36,6 +36,8 @@ std::wstring privsToString(u64 privs) os<<L"settime,"; if(privs & PRIV_PRIVS) os<<L"privs,"; + if(privs & PRIV_SHOUT) + os<<L"shout,"; if(os.tellp()) { // Drop the trailing comma. (Why on earth can't @@ -65,6 +67,8 @@ u64 stringToPrivs(std::wstring str) privs |= PRIV_SETTIME; else if(*i == L"privs") privs |= PRIV_PRIVS; + else if(*i == L"shout") + privs |= PRIV_SHOUT; else return PRIV_INVALID; } |