Changes in protocols/jabber/jabber.c [9cb9868:7b23afd]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.c
r9cb9868 r7b23afd 157 157 #define JCS_CLOSED 3 /* closed */ 158 158 159 160 static char *jabber_name()161 {162 return "Jabber";163 }164 159 165 160 #define STATE_EVT(arg) if(gjc->on_state) { (gjc->on_state)(gjc, (arg) ); } … … 2413 2408 } 2414 2409 2415 static struct prpl *my_protocol = NULL; 2416 2417 void jabber_init(struct prpl *ret) 2418 { 2410 2411 void jabber_init() 2412 { 2413 struct prpl *ret = g_new0(struct prpl, 1); 2414 2419 2415 /* the NULL's aren't required but they're nice to have */ 2420 ret->protocol = PROTO_JABBER; 2421 ret->name = jabber_name; 2416 ret->name = "jabber"; 2422 2417 ret->away_states = jabber_away_states; 2423 2418 ret->actions = jabber_actions; … … 2441 2436 ret->alias_buddy = jabber_roster_update; 2442 2437 ret->group_buddy = jabber_group_change; 2443 ret->cmp_buddynames = g_strcasecmp; 2444 2445 my_protocol = ret; 2446 } 2438 2439 register_protocol (ret); 2440 }
Note: See TracChangeset
for help on using the changeset viewer.