Skip to content

Commit

Permalink
Remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
DosMike committed Aug 6, 2023
1 parent 5732d97 commit b6c1ffd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripting/mcp-chattags.sp
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,9 @@ public void OnClientPostAdminCheck(int client) {
// // should we refresh?
bool refresh = ((crc != oldCrc && load==2) || load==1);

PrintToServer("[ChatTag] %N %s (%04X -> %04X)", client, refresh ? "Refresh" : "Keep", oldCrc, crc);

//if profile should refresh, pick the first match and save
if (refresh && list.Length>0) {
list.GetString(0, tmp, sizeof(tmp));
PrintToServer("[ChatTag] %N active profile now %s", client, tmp);
mcpct_profile.Set(client, tmp);
mcpct_style.Set(client, "15");
}
Expand Down Expand Up @@ -220,7 +217,6 @@ bool UpdateProfile(int client) {
}

void ProcessTagStyle(char[] tag, int taglen, ChatStyleOptions style) {
PrintToServer("[ChatTag] Style: %X", style);
char tagcopy[MCP_MAXLENGTH_NAME];
if ((style & CS_PREFIX) != CS_NONE) {
strcopy(tagcopy, sizeof(tagcopy), tag);
Expand Down

0 comments on commit b6c1ffd

Please sign in to comment.