Add per-user download directory
This commit is contained in:
parent
1532b2a8c8
commit
6b5bf4ced1
4 changed files with 6 additions and 4 deletions
|
@ -70,7 +70,7 @@ func connectIRC(server *storage.Server, state *State, srcIP []byte) *irc.Client
|
|||
}
|
||||
}
|
||||
|
||||
i.DownloadFolder = cfg.DownloadFolder
|
||||
i.DownloadFolder = storage.Path.Downloads(state.user.Username)
|
||||
i.Autoget = cfg.Autoget
|
||||
|
||||
state.setIRC(server.Host, i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue