Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions EXILED/Exiled.API/Features/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2293,7 +2293,7 @@ public void RemoteAdminMessage(string message, bool success = true, string plugi
/// <returns><see langword="true"/> if message was send; otherwise, <see langword="false"/>.</returns>
public bool SendStaffMessage(string message, EncryptedChannelManager.EncryptedChannel channel = EncryptedChannelManager.EncryptedChannel.AdminChat)
{
return ReferenceHub.encryptedChannelManager.TrySendMessageToClient("!" + NetId + message, channel);
return ReferenceHub.encryptedChannelManager.TrySendMessageToClient(NetId + "!" + message, channel);
}

/// <summary>
Expand All @@ -2304,7 +2304,7 @@ public bool SendStaffMessage(string message, EncryptedChannelManager.EncryptedCh
/// <returns><see langword="true"/> if message was send; otherwise, <see langword="false"/>.</returns>
public bool SendStaffPing(string message, EncryptedChannelManager.EncryptedChannel channel = EncryptedChannelManager.EncryptedChannel.AdminChat)
{
return ReferenceHub.encryptedChannelManager.TrySendMessageToClient("!0" + message, channel);
return ReferenceHub.encryptedChannelManager.TrySendMessageToClient("0!" + message, channel);
}

/// <summary>
Expand Down