Fixed null permission overwrites
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user