Procházet zdrojové kódy

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

Bryan Drewery před 14 roky
rodič
revize
ecfb9fff53
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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) {