Index: binary-improvements/AllocsCommands/AllocsCommands.csproj
===================================================================
--- binary-improvements/AllocsCommands/AllocsCommands.csproj	(revision 306)
+++ binary-improvements/AllocsCommands/AllocsCommands.csproj	(revision 309)
@@ -39,4 +39,8 @@
       <Private>False</Private>
     </Reference>
+    <Reference Include="Assembly-CSharp-firstpass">
+      <HintPath>..\..\..\RPGMod\7dtd-binaries\Assembly-CSharp-firstpass.dll</HintPath>
+      <Private>False</Private>
+    </Reference>
   </ItemGroup>
   <ItemGroup>
Index: binary-improvements/AllocsCommands/Commands/Reply.cs
===================================================================
--- binary-improvements/AllocsCommands/Commands/Reply.cs	(revision 306)
+++ binary-improvements/AllocsCommands/Commands/Reply.cs	(revision 309)
@@ -35,9 +35,5 @@
 				Chat.SendMessage (receiver, _sender, message);
 			} else {
-				if (receiver != null) {
-					SdtdConsole.Instance.Output ("The sender of the PM you last received is currently not online.");
-				} else {
-					SdtdConsole.Instance.Output ("You have not received a PM so far.");
-				}
+				SdtdConsole.Instance.Output ("You have not received a PM so far or sender of last received PM is no longer online.");
 			}
 		}
Index: binary-improvements/AllocsCommands/ModInfo.xml
===================================================================
--- binary-improvements/AllocsCommands/ModInfo.xml	(revision 306)
+++ binary-improvements/AllocsCommands/ModInfo.xml	(revision 309)
@@ -5,5 +5,5 @@
 		<Description value="Additional commands for server operation" />
 		<Author value="Christian 'Alloc' Illy" />
-		<Version value="13" />
+		<Version value="14" />
 		<Website value="http://7dtd.illy.bz" />
 	</ModInfo>
Index: binary-improvements/AllocsCommands/PrivateMessageConnections.cs
===================================================================
--- binary-improvements/AllocsCommands/PrivateMessageConnections.cs	(revision 306)
+++ binary-improvements/AllocsCommands/PrivateMessageConnections.cs	(revision 309)
@@ -1,4 +1,5 @@
 using System;
 using System.Collections.Generic;
+using Steamworks;
 
 namespace AllocsFixes.CustomCommands
@@ -6,18 +7,18 @@
 	public class PrivateMessageConnections
 	{
-		private static Dictionary<ClientInfo, ClientInfo> senderOfLastPM = new Dictionary<ClientInfo, ClientInfo> ();
+		private static Dictionary<CSteamID, CSteamID> senderOfLastPM = new Dictionary<CSteamID, CSteamID> ();
 
 		public static void SetLastPMSender (ClientInfo _sender, ClientInfo _receiver)
 		{
-			if (senderOfLastPM.ContainsKey (_receiver))
-				senderOfLastPM [_receiver] = _sender;
-			else
-				senderOfLastPM.Add (_receiver, _sender);
+			senderOfLastPM [_receiver.steamId] = _sender.steamId;
 		}
 
 		public static ClientInfo GetLastPMSenderForPlayer (ClientInfo _player)
 		{
-			if (senderOfLastPM.ContainsKey (_player))
-				return senderOfLastPM [_player];
+			if (senderOfLastPM.ContainsKey (_player.steamId)) {
+				CSteamID recSteamId = senderOfLastPM [_player.steamId];
+				ClientInfo recInfo = ConnectionManager.Instance.GetClientInfoForSteamId (recSteamId);
+				return recInfo;
+			}
 			return null;
 		}
