Fixed null permission overwrites

This commit is contained in:
RogueException
2016-06-11 18:08:31 -03:00
parent 4b64807465
commit e01a0a3155
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ namespace Discord
if (source == UpdateSource.Rest && IsAttached) return; if (source == UpdateSource.Rest && IsAttached) return;
Topic = model.Topic; Topic = model.Topic;
base.Update(model, UpdateSource.Rest); base.Update(model, source);
} }
public async Task ModifyAsync(Action<ModifyTextChannelParams> func) public async Task ModifyAsync(Action<ModifyTextChannelParams> func)

View File

@@ -21,7 +21,7 @@ namespace Discord
{ {
if (source == UpdateSource.Rest && IsAttached) return; if (source == UpdateSource.Rest && IsAttached) return;
base.Update(model, UpdateSource.Rest); base.Update(model, source);
Bitrate = model.Bitrate; Bitrate = model.Bitrate;
UserLimit = model.UserLimit; UserLimit = model.UserLimit;
} }