Browse Source

* Write userfile after receiving it

Bryan Drewery 15 years ago
parent
commit
025cb09838
1 changed files with 2 additions and 0 deletions
  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();
     Auth::FillUsers();
   }
   }
 
 
+  write_userfile(-1);
+
   cmdpass_free(old_cmdpass);
   cmdpass_free(old_cmdpass);
 
 
   checkchans(1);                /* remove marked channels */
   checkchans(1);                /* remove marked channels */