This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
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
Remove old hack-fix
pull/1767/head
Daniel Baynton
4 years ago
parent
0c2a05a4ef
commit
6750d67925
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
src/Discord.Net.WebSocket/Entities/Users/SocketGlobalUser.cs
+ 2
- 2
src/Discord.Net.WebSocket/Entities/Users/SocketGlobalUser.cs
View File
@@ -43,11 +43,11 @@ namespace Discord.WebSocket
{
lock (_lockObj)
{
if (--_references <=
1
)
if (--_references <=
0
)
discord.RemoveUser(Id);
}
}
internal void Update(ClientState state, PresenceModel model)
{
Presence = SocketPresence.Create(model);
Write
Preview
Loading…
Cancel
Save