comparison mcabber/src/hooks.c @ 735:2f027806cd48

Some code cleanup This patch will kill a few pedantic warnings
author Mikael Berthe <mikael@lilotux.net>
date Thu, 09 Mar 2006 20:15:37 +0100
parents 1d9f0efcfcee
children 464be13343a9
comparison
equal deleted inserted replaced
734:1d9f0efcfcee 735:2f027806cd48
93 } else { 93 } else {
94 wmsg = bmsg = g_strdup_printf("PRIV#<%s> %s", resname, msg); 94 wmsg = bmsg = g_strdup_printf("PRIV#<%s> %s", resname, msg);
95 if (!strncmp(msg, "/me ", 4)) 95 if (!strncmp(msg, "/me ", 4))
96 wmsg = mmsg = g_strdup_printf("PRIV#*%s %s", resname, msg+4); 96 wmsg = mmsg = g_strdup_printf("PRIV#*%s %s", resname, msg+4);
97 } 97 }
98 /*message_flags |= HBB_PREFIX_HLIGHT;*/
99 } else { 98 } else {
100 // This is a regular chatroom message. 99 // This is a regular chatroom message.
101 // Let's see if we are the message sender, in which case we'll 100 // Let's see if we are the message sender, in which case we'll
102 // highlight it. 101 // highlight it.
103 const char *nick = buddy_getnickname(roster_usr->data); 102 const char *nick = buddy_getnickname(roster_usr->data);