Mercurial > pidgin
comparison src/server.c @ 1734:dd78a230aa06
[gaim-migrate @ 1744]
fun stuff
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Fri, 20 Apr 2001 23:04:48 +0000 |
| parents | 76e601b77099 |
| children | 5bfc58c20e82 |
comparison
equal
deleted
inserted
replaced
| 1733:4e51ddc6632f | 1734:dd78a230aa06 |
|---|---|
| 50 if (user->gc != NULL) | 50 if (user->gc != NULL) |
| 51 return; | 51 return; |
| 52 if (p && p->login) { | 52 if (p && p->login) { |
| 53 debug_printf("Logging in using %s\n", (*p->name)()); | 53 debug_printf("Logging in using %s\n", (*p->name)()); |
| 54 (*p->login)(user); | 54 (*p->login)(user); |
| 55 } else { | |
| 56 do_error_dialog(_("You cannot log this account in; you do not have " | |
| 57 "the protocol it uses loaded, or the protocol does " | |
| 58 "not have a login function."), _("Login Error")); | |
| 55 } | 59 } |
| 56 } | 60 } |
| 57 | 61 |
| 58 void serv_close(struct gaim_connection *gc) | 62 void serv_close(struct gaim_connection *gc) |
| 59 { | 63 { |
