Fixed GlobalUser.PrivateChannel

This commit is contained in:
RogueException
2015-10-25 05:05:51 -03:00
parent 47269aa420
commit 2af73046fc

View File

@@ -83,9 +83,14 @@ namespace Discord
x =>
{
Name = "@" + x.Name;
x.GlobalUser.PrivateChannel = this;
if (_server.Id == null)
x.GlobalUser.PrivateChannel = this;
},
x => x.GlobalUser.PrivateChannel = null);
x =>
{
if (_server.Id == null)
x.GlobalUser.PrivateChannel = null;
});
_permissionOverwrites = _initialPermissionsOverwrites;
_areMembersStale = true;