Prechádzať zdrojové kódy

Touch the key timestamp when receiving messages in FiSH from users (#23)

Bryan Drewery 14 rokov pred
rodič
commit
ecfb9fff53
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      src/mod/server.mod/servmsg.c

+ 1 - 0
src/mod/server.mod/servmsg.c

@@ -167,6 +167,7 @@ static int check_bind_raw(char *from, char *code, char *msg)
 
         if (FishKeys.contains(nick)) {
           sharedKey = FishKeys[nick]->sharedKey;
+          FishKeys[nick]->timestamp = now;
         } else {
           struct userrec *u = get_user_by_host(from);
           if (u) {