| 4458 } |
4458 } |
| 4459 |
4459 |
| 4460 const char *_purple_oscar_convert(const char *act, const char *protocol) |
4460 const char *_purple_oscar_convert(const char *act, const char *protocol) |
| 4461 { |
4461 { |
| 4462 if (protocol && act && strcmp(protocol, "prpl-oscar") == 0) { |
4462 if (protocol && act && strcmp(protocol, "prpl-oscar") == 0) { |
| 4463 if (isdigit(*act)) |
4463 int i; |
| 4464 protocol = "prpl-icq"; |
4464 for (i = 0; act[i] != '\0'; i++) |
| 4465 else |
4465 if (!isdigit(act[i])) |
| 4466 protocol = "prpl-aim"; |
4466 return "prpl-aim"; |
| |
4467 return "prpl-icq"; |
| 4467 } |
4468 } |
| 4468 return protocol; |
4469 return protocol; |
| 4469 } |
4470 } |
| 4470 |
4471 |
| 4471 void purple_restore_default_signal_handlers(void) |
4472 void purple_restore_default_signal_handlers(void) |