Explorar el Código

* Write userfile after receiving it

Bryan Drewery hace 14 años
padre
commit
025cb09838
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/mod/share.mod/share.c

+ 2 - 0
src/mod/share.mod/share.c

@@ -1450,6 +1450,8 @@ static void share_read_stream(int idx, bd::Stream& stream) {
     Auth::FillUsers();
   }
 
+  write_userfile(-1);
+
   cmdpass_free(old_cmdpass);
 
   checkchans(1);                /* remove marked channels */