adds a null check for RelayIMtoAvatar

This commit is contained in:
Madpeter 2020-04-26 00:13:09 +01:00
parent 5453f26d66
commit 372c4c42cf

View file

@ -51,6 +51,8 @@ namespace BSB.bottypes
if (localchat == false)
{
if(avatar == true)
{
if (myconfig.RelayImToAvatar != null)
{
if (myconfig.RelayImToAvatar != UUID.Zero.ToString())
{
@ -63,6 +65,7 @@ namespace BSB.bottypes
}
}
}
}
if (avatar == false)
{
bool signed_command = false;