Skip to content

Commit

Permalink
feat(comms): Forgot to append to jfields
Browse files Browse the repository at this point in the history
  • Loading branch information
rumblefrog committed Oct 23, 2018
1 parent 15d2bfa commit d29f6c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sbpp_discord.sp
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ void SendReport(int iClient, int iTarget, const char[] sReason, int iType = Ban,
GetCommType(cType, sizeof cType, extra);

json_object_set_new(jFieldCommType, "value", json_string(cType));

json_array_append_new(jFields, jFieldCommType);
}

json_array_append_new(jFields, jFieldReason);
Expand Down

0 comments on commit d29f6c7

Please sign in to comment.