Show DCC send filesize
This commit is contained in:
parent
45f8795fad
commit
02e9df865e
5 changed files with 65 additions and 59 deletions
|
@ -496,6 +496,7 @@ func (i *ircHandler) receiveDCCSend(pack *irc.DCCSend, msg *irc.Message) {
|
|||
Network: i.client.Host(),
|
||||
From: msg.Sender,
|
||||
Filename: pack.File,
|
||||
Size: pack.Size(),
|
||||
URL: fmt.Sprintf("%s://%s/downloads/%s/%s",
|
||||
i.state.String("scheme"), i.state.String("host"), i.state.user.Username, pack.File),
|
||||
})
|
||||
|
|
|
@ -218,6 +218,7 @@ type DCCSend struct {
|
|||
Network string
|
||||
From string
|
||||
Filename string
|
||||
Size string
|
||||
URL string
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue