mcabber/src/hooks.c
changeset 675 ae7016aae014
parent 656 29a0637c176f
child 699 ee03b56b93ee
--- a/mcabber/src/hooks.c	Tue Jan 17 23:32:28 2006 +0100
+++ b/mcabber/src/hooks.c	Wed Jan 25 22:00:06 2006 +0100
@@ -121,6 +121,10 @@
   if ((is_groupchat && !timestamp) || !is_groupchat)
     hk_ext_cmd(jid, (is_groupchat ? 'G' : 'M'), 'R', wmsg);
 
+  // Beep, if enabled
+  if (settings_opt_get_int("beep_on_message"))
+    scr_Beep();
+
   // We need to rebuild the list if the sender is unknown or
   // if the sender is offline/invisible and hide_offline_buddies is set
   if (new_guy ||