forked from External/ergo
do a type conversion better
This commit is contained in:
parent
f3da4e0286
commit
035a8f6cde
1 changed files with 1 additions and 2 deletions
|
|
@ -78,8 +78,7 @@ func (channel *Channel) receiveReplies(replies <-chan Reply) {
|
||||||
log.Printf("%s ← %s : %s", channel, reply.Source(), reply)
|
log.Printf("%s ← %s : %s", channel, reply.Source(), reply)
|
||||||
}
|
}
|
||||||
for client := range channel.members {
|
for client := range channel.members {
|
||||||
var dest Identifier = client
|
if reply.Source() != Identifier(client) {
|
||||||
if reply.Source() != dest {
|
|
||||||
client.Reply(reply)
|
client.Reply(reply)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue