Forráskód Böngészése

Merge branch 'fish-updates' into next

* fish-updates:
  * Populate FishKeys in cmd_setkey
Bryan Drewery 15 éve
szülő
commit
9404f72415
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      src/mod/server.mod/cmdsserv.c

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

@@ -166,6 +166,7 @@ static void cmd_setkey(int idx, char *par) {
     fishData = new fish_data_t;
     fishData = new fish_data_t;
     fishData->sharedKey = key;
     fishData->sharedKey = key;
     fishData->timestamp = now;
     fishData->timestamp = now;
+    FishKeys[target] = fishData;
     dprintf(idx, "Set key for '%s' to: %s", target, key);
     dprintf(idx, "Set key for '%s' to: %s", target, key);
   }
   }
   return;
   return;