Changeset 820a2a7
- Timestamp:
- 2014-02-13T19:44:53Z (11 years ago)
- Branches:
- master
- Children:
- 6ae1056
- Parents:
- 74c9e7f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
otr.c
r74c9e7f r820a2a7 968 968 { 969 969 irc_user_t *u; 970 char *msg, *query = "?OTR?"; 970 971 971 972 u = irc_user_by_name(irc, args[1]); … … 981 982 /* passing this through the filter so it goes through libotr which 982 983 * will replace the simple query string with a proper one */ 983 otr_filter_msg_out(u, "?OTR?", 0); 984 msg = otr_filter_msg_out(u, query, 0); 985 986 /* send the message */ 987 if(msg) { 988 u->bu->ic->acc->prpl->buddy_msg(u->bu->ic, u->bu->handle, msg, 0); /* XXX flags? */ 989 /* XXX error message? */ 990 991 if(msg != query) 992 g_free(msg); 993 } 984 994 } 985 995
Note: See TracChangeset
for help on using the changeset viewer.