summaryrefslogtreecommitdiff
path: root/rooms.go
diff options
context:
space:
mode:
Diffstat (limited to 'rooms.go')
-rw-r--r--rooms.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rooms.go b/rooms.go
index c732bb6..723fc98 100644
--- a/rooms.go
+++ b/rooms.go
@@ -35,7 +35,7 @@ func (r *Room) Leave(nick string) {
func (r *Room) Broadcast() {
for m := range r.Messages {
for _, buddy := range r.Buddies {
- buddy.Receive <- m // TODO: What happens when this locks?
+ buddy.Push(m)
}
}
}