- Timestamp:
- 2010-05-08T01:02:12Z (15 years ago)
- Branches:
- master
- Children:
- bfb99ee
- Parents:
- e4816ea
- Location:
- protocols
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/bee.h
re4816ea ra87754b 126 126 static int remove_chat_buddy_silent( struct groupchat *b, const char *handle ); 127 127 #endif 128 int bee_chat_msg( bee_t *bee, struct groupchat *c, const char *msg, int flags ); 128 129 129 130 #endif /* __BEE_H__ */ -
protocols/bee_chat.c
re4816ea ra87754b 247 247 } 248 248 #endif 249 250 int bee_chat_msg( bee_t *bee, struct groupchat *c, const char *msg, int flags ) 251 { 252 struct im_connection *ic = c->ic; 253 char *buf = NULL; 254 int st; 255 256 if( ( ic->flags & OPT_DOES_HTML ) && ( g_strncasecmp( msg, "<html>", 6 ) != 0 ) ) 257 { 258 buf = escape_html( msg ); 259 msg = buf; 260 } 261 else 262 buf = g_strdup( msg ); 263 264 ic->acc->prpl->chat_msg( c, buf, flags ); 265 g_free( buf ); 266 267 return 1; 268 }
Note: See TracChangeset
for help on using the changeset viewer.