changeset 1801:07e73049f7c5

Replace "urgent" with "attention" in HOOK_POST_MESSAGE_IN
author Mikael Berthe <mikael@lilotux.net>
date Sun, 21 Mar 2010 15:10:51 +0100
parents d2747442918a
children b135572fcd26
files mcabber/mcabber/hooks.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/mcabber/hooks.c	Sat Mar 20 15:27:26 2010 +0100
+++ b/mcabber/mcabber/hooks.c	Sun Mar 21 15:10:51 2010 +0100
@@ -196,7 +196,7 @@
   GSList *roster_usr;
   unsigned mucnicklen = 0;
   const char *ename = NULL;
-  gboolean urgent = FALSE;
+  gboolean attention = FALSE;
 
   if (encrypted == ENCRYPTED_PGP)
     message_flags |= HBB_PREFIX_PGPCRYPT;
@@ -313,8 +313,8 @@
               continue;
             // Check right boundary
             if (!iswalnum(get_char(rightb)) && get_char(rightb) != '_')
-              urgent = TRUE;
-            if (urgent && !settings_opt_get_int("muc_disable_nick_hl"))
+              attention = TRUE;
+            if (attention && !settings_opt_get_int("muc_disable_nick_hl"))
               message_flags |= HBB_PREFIX_HLIGHT;
           }
         }
@@ -364,7 +364,7 @@
       { "resource", resname },
       { "message", wmsg },
       { "groupchat", is_groupchat ? "true" : "false" },
-      { "urgent", urgent ? "true" : "false" },
+      { "attention", attention ? "true" : "false" },
       { NULL, NULL },
     };
     hk_run_handlers(HOOK_POST_MESSAGE_IN, args);