Skip to content

Commit

Permalink
linux fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leiizko authored Aug 16, 2017
1 parent 8d3f817 commit 9c9e990
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void SV_TSRate()
}

char *placements = Plugin_Scr_GetString( 1 );
char *p = _strdup( placements );
char *p = strdup( placements );
char *tok;
std::vector< int > ranks;

Expand Down Expand Up @@ -218,4 +218,4 @@ PCL void OnInfoRequest(pluginInfo_t *info)
strncpy(info->fullName, "Trueskill plugin by Leiizko", sizeof(info->fullName));
strncpy(info->shortDescription, "Game rating system.", sizeof(info->shortDescription));
strncpy(info->longDescription, "This plugin is used to rank players according to their individual skill.", sizeof(info->longDescription));
}
}

0 comments on commit 9c9e990

Please sign in to comment.