Fixed null permission overwrites
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Discord
|
||||
if (source == UpdateSource.Rest && IsAttached) return;
|
||||
|
||||
Topic = model.Topic;
|
||||
base.Update(model, UpdateSource.Rest);
|
||||
base.Update(model, source);
|
||||
}
|
||||
|
||||
public async Task ModifyAsync(Action<ModifyTextChannelParams> func)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace Discord
|
||||
{
|
||||
if (source == UpdateSource.Rest && IsAttached) return;
|
||||
|
||||
base.Update(model, UpdateSource.Rest);
|
||||
base.Update(model, source);
|
||||
Bitrate = model.Bitrate;
|
||||
UserLimit = model.UserLimit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user