Skip to content

Commit 8f43bee

Browse files
change if cancelled
1 parent 1767be1 commit 8f43bee

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎xdcc/xdcc.go‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,7 @@ func DCCSend(hook *webircgateway.HookIrcLine) {
255255
hook.Message.Command = "NOTICE"
256256
hook.Message.Params[1] = fmt.Sprintf("http://%s:3000/%s", configs.DomainName, parts.file)
257257

258-
_, ok := configs.server.fileNames[parts.file]
259-
if ok {
260-
client.SendClientSignal("data", hook.Message.ToLine())
261-
262-
return
263-
}
258+
264259

265260
configs.server.AddFile(parts.file, *parts)
266261

0 commit comments

Comments
 (0)