Skip to content
Permalink
Browse files

Get rid of duplicated constant

  • Loading branch information...
UnknownShadow200 committed Jun 4, 2017
1 parent 8b5bf5c commit 669bde2185512abc74f00ebbb762006c5f309d6f
Showing with 1 addition and 2 deletions.
  1. +1 −2 fCraft/Commands/InfoCommands.cs
@@ -1983,8 +1983,7 @@ static void EmotesHandler(Player player, CommandReader cmd)
result.TryGetValue("registered", out registered1);
double registered2;
double.TryParse(registered1, out registered2);
var epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
DateTime registered3 = epoch.AddSeconds(registered2);
DateTime registered3 = DateTimeUtil.UnixEpoch.AddSeconds(registered2);
string username;
result.TryGetValue("username", out username);

0 comments on commit 669bde2

Please sign in to comment.
You can’t perform that action at this time.