Removing beeps for now.

This commit is contained in:
Andrey Petrov committed 2014-12-13 11:16:47 -08:00
1 parent cd50bf5caa
commit 460b81be2e
1 file changed
+1 -6
+1 -6
View File
@@ -93,12 +93,7 @@ func (s *Server) Broadcast(msg string, except *Client) {
if except != nil && client == except {
continue
}
/* Add an ascii BEL to ding clients when they're mentioned */
if strings.HasPrefix(msg, fmt.Sprintf("%s:", client.Name)) {
client.Msg <- msg + BEEP
} else {
client.Msg <- msg
}
client.Msg <- msg
}
}