Mercurial > pidgin
comparison libpurple/server.c @ 18243:a8b19e002cb4
propagate from branch 'im.pidgin.pidgin' (head e9da27c3123d1223162bf9fb76f58822873e18f8)
to branch 'im.pidgin.soc.2007.remotelogging' (head da5442aedd302aafb260948b66ce0549a3e0a0e4)
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 24 Jun 2007 20:01:43 +0000 |
parents | 7684084830c6 |
children | 0f46f13c0805 6395c2e96bc2 49aea2fa0107 |
comparison
equal
deleted
inserted
replaced
18176:b14dfa2f49a1 | 18243:a8b19e002cb4 |
---|---|
196 */ | 196 */ |
197 void serv_alias_buddy(PurpleBuddy *b) | 197 void serv_alias_buddy(PurpleBuddy *b) |
198 { | 198 { |
199 PurplePluginProtocolInfo *prpl_info = NULL; | 199 PurplePluginProtocolInfo *prpl_info = NULL; |
200 | 200 |
201 if (b != NULL && b->account->gc->prpl != NULL) | 201 if (b != NULL && b->account->gc && b->account->gc->prpl != NULL) |
202 prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(b->account->gc->prpl); | 202 prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(b->account->gc->prpl); |
203 | 203 |
204 if (b && prpl_info && prpl_info->alias_buddy) { | 204 if (b && prpl_info && prpl_info->alias_buddy) { |
205 prpl_info->alias_buddy(b->account->gc, b->name, b->alias); | 205 prpl_info->alias_buddy(b->account->gc, b->name, b->alias); |
206 } | 206 } |