comparison mcabber/src/commands.c @ 957:82aaa7afbd03

Cosmetic changes
author Mikael Berthe <mikael@lilotux.net>
date Sat, 02 Sep 2006 14:59:37 +0200
parents 27a7b2f986f5
children 30b799632653
comparison
equal deleted inserted replaced
956:819396bebdf5 957:82aaa7afbd03
1590 } 1590 }
1591 1591
1592 roomname = buddy_getjid(bud); 1592 roomname = buddy_getjid(bud);
1593 reason_utf8 = to_utf8(arg); 1593 reason_utf8 = to_utf8(arg);
1594 jb_room_invite(roomname, jid, reason_utf8); 1594 jb_room_invite(roomname, jid, reason_utf8);
1595 scr_LogPrint(LPRINT_LOGNORM, "Invitation sent to <%s>...", jid); 1595 scr_LogPrint(LPRINT_LOGNORM, "Invitation sent to <%s>.", jid);
1596 g_free(reason_utf8); 1596 g_free(reason_utf8);
1597 free_arg_lst(paramlst); 1597 free_arg_lst(paramlst);
1598 } 1598 }
1599 1599
1600 static void room_affil(gpointer bud, char *arg) 1600 static void room_affil(gpointer bud, char *arg)
2102 "<%s> will no longer receive your presence updates.", 2102 "<%s> will no longer receive your presence updates.",
2103 jid_utf8); 2103 jid_utf8);
2104 } else if (!strcasecmp(subcmd, "request")) { 2104 } else if (!strcasecmp(subcmd, "request")) {
2105 jb_subscr_request_auth(jid_utf8); 2105 jb_subscr_request_auth(jid_utf8);
2106 scr_LogPrint(LPRINT_LOGNORM, 2106 scr_LogPrint(LPRINT_LOGNORM,
2107 "Sent presence notification request to <%s>...", jid_utf8); 2107 "Sent presence notification request to <%s>.", jid_utf8);
2108 } else if (!strcasecmp(subcmd, "request_unsubscribe")) { 2108 } else if (!strcasecmp(subcmd, "request_unsubscribe")) {
2109 jb_subscr_request_cancel(jid_utf8); 2109 jb_subscr_request_cancel(jid_utf8);
2110 scr_LogPrint(LPRINT_LOGNORM, 2110 scr_LogPrint(LPRINT_LOGNORM,
2111 "Sent presence notification ubsubscription request to <%s>...", 2111 "Sent presence notification unsubscription request to <%s>.",
2112 jid_utf8); 2112 jid_utf8);
2113 } else { 2113 } else {
2114 scr_LogPrint(LPRINT_NORMAL, "Unrecognized parameter!"); 2114 scr_LogPrint(LPRINT_NORMAL, "Unrecognized parameter!");
2115 } 2115 }
2116 2116