Sfoglia il codice sorgente

Fix LASTON not being shared

Bryan Drewery 14 anni fa
parent
commit
291dfe7867
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 0
      doc/UPDATES.md
  2. 0 2
      src/userent.cc

+ 2 - 0
doc/UPDATES.md

@@ -1,3 +1,5 @@
+* Fix LASTON not being shared
+
 # maint
   * Update server list, 'set -yes servers -' and 'set -yes servers6 -' to get new list.
   * Fix Linux binary compat on FreeBSD due to lack of ptrace(2).

+ 0 - 2
src/userent.cc

@@ -725,10 +725,8 @@ static bool laston_set(struct userrec *u, struct user_entry *e, void *buf)
     e->u.extra = (struct laston_info *) buf;
   }
 
-  /* FIXME: laston sharing is disabled until a better solution is found
   if (!noshare)
     shareout("c LASTON %s %s %li\n", u->handle, li->lastonplace ? li->lastonplace : "-", (long) li->laston);
-  */
 
   return 1;
 }