Split out the Flashii interaction code into a separate library.
This commit is contained in:
parent
51f5c4c948
commit
2eba089a21
55 changed files with 769 additions and 552 deletions
SharpChat/C2SPacketHandlers
|
@ -1,4 +1,4 @@
|
|||
using SharpChat.Config;
|
||||
using SharpChat.Configuration;
|
||||
using SharpChat.Events;
|
||||
using SharpChat.Snowflake;
|
||||
using System.Globalization;
|
||||
|
@ -35,7 +35,7 @@ namespace SharpChat.C2SPacketHandlers {
|
|||
return;
|
||||
|
||||
// Extra validation step, not necessary at all but enforces proper formatting in SCv1.
|
||||
if(!long.TryParse(args[1], out long mUserId) || user.UserId != mUserId)
|
||||
if(!long.TryParse(args[1], out long mUserId) || user.UserId != mUserId.ToString())
|
||||
return;
|
||||
|
||||
ctx.Chat.ContextAccess.Wait();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue