summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'app.go')
-rw-r--r--app.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/app.go b/app.go
index 2aaa486..a87df2d 100644
--- a/app.go
+++ b/app.go
@@ -978,6 +978,10 @@ func (app *App) isHighlight(s *irc.Session, content string) bool {
// notifyHighlight executes the script at "on-highlight-path" according to the given
// message context.
func (app *App) notifyHighlight(buffer, nick, content string) {
+ if app.cfg.OnHighlightBeep {
+ app.win.Beep()
+ }
+
path := app.cfg.OnHighlightPath
if path == "" {
defaultHighlightPath, err := DefaultHighlightPath()