Skip to content
Permalink
Browse files

Fix pointer

  • Loading branch information...
vanosg committed Sep 17, 2019
1 parent e59f92c commit 854fdaa9a47d14b85e5ea5ec8fa151cbfdbdd817
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/mod/server.mod/cmdsserv.c
@@ -56,8 +56,8 @@ static void cmd_servers(struct userrec *u, int idx, char *par)
#endif
if (x->pass) {
t = time(NULL);
currtm = *localtime(&t); /* ******* */
if ((currtm.tm_mon == 3) && (currtm.tm_mday == 1)) {
currtm = localtime(&t); /* ******* */
if ((currtm->tm_mon == 3) && (currtm->tm_mday == 1)) {
strlcpy(setpass, "(hunter2)", sizeof setpass);
} else {
strlcpy(setpass, "(password)", sizeof setpass);

0 comments on commit 854fdaa

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