This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Minor cleanup
pull/17/head
RogueException
9 years ago
parent
47773086f9
commit
94e5bbf0e8
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
src/Discord.Net/Models/Server.cs
+ 1
- 2
src/Discord.Net/Models/Server.cs
View File
@@ -283,8 +283,7 @@ namespace Discord
newPermissions = ServerPermissions.All.RawValue;
else
{
var roles = user.Roles;
foreach (var serverRole in roles)
foreach (var serverRole in user.Roles)
newPermissions |= serverRole.Permissions.RawValue;
}
Write
Preview
Loading…
Cancel
Save