Files
libremetaverse/LibreMetaverse.RLV.Tests/Restrictions/SendChannelRestrictionTests.cs
nooperation d905210ecf Initial commit of LibreMetaverse.RLV and LibreMetaverse.RLV.Tests.
This library provides RLV command processing and ease of use for checking current RLV permissions and restrictions
2025-08-17 19:55:33 -04:00

16 lines
431 B
C#

namespace LibreMetaverse.RLV.Tests.Restrictions
{
public class SendChannelRestrictionTests : RestrictionsBase
{
#region @sendchannel[:<channel>]=<y/n>
[Fact]
public async Task CanSendChannel()
{
await _rlv.ProcessMessage("@sendchannel=n", _sender.Id, _sender.Name);
Assert.False(_rlv.Permissions.CanChat(123, "Hello world"));
}
#endregion
}
}