Browse Source

* Write userfile after receiving it

Bryan Drewery 14 năm trước cách đây
mục cha
commit
025cb09838
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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 */