Mercurial > ~mikael > mcabber > hg
diff mcabber/src/jab_iq.c @ 1415:317f8d181626
Rename command public functions
Add a prefix ("cmd_").
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 19 Jan 2008 16:42:34 +0100 |
parents | 366ef500c522 |
children | af54d33facd0 |
line wrap: on
line diff
--- a/mcabber/src/jab_iq.c Sat Jan 19 16:30:39 2008 +0100 +++ b/mcabber/src/jab_iq.c Sat Jan 19 16:42:34 2008 +0100 @@ -1194,7 +1194,7 @@ if (s->name) { char *status = g_strdup_printf("%s %s", s->status, message ? message : ""); - setstatus(NULL, status); + cmd_setstatus(NULL, status); g_free(status); xmlnode_put_attrib(command, "status", "completed"); xmlnode_put_attrib(iq, "type", "result"); @@ -1292,7 +1292,7 @@ if (to_leave) { GList* b = buddy_search_jid(to_leave); if (b) - room_leave(b->data, "Asked by remote command"); + cmd_room_leave(b->data, "Asked by remote command"); } } xmlnode_put_attrib(iq, "type", "result");