comparison src/server.c @ 7107:9220c7490cd1

[gaim-migrate @ 7672] This is a big one: normalize() -> gaim_normalize, linkify_text() -> gaim_markup_linkify(), gaim_get_size_string() -> gaim_str_size_to_units(), and moved clean_pid() to main.c. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 01 Oct 2003 06:17:28 +0000
parents 0ffd540660df
children 6faeeecab0dc
comparison
equal deleted inserted replaced
7106:db6bd3e794d8 7107:9220c7490cd1
876 /* 876 /*
877 * If you can't figure this out, stop reading right now. 877 * If you can't figure this out, stop reading right now.
878 * "We're not worthy! We're not worthy!" 878 * "We're not worthy! We're not worthy!"
879 */ 879 */
880 if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_urls_as_links")) { 880 if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_urls_as_links")) {
881 buffy = linkify_text(message); 881 buffy = gaim_markup_linkify(message);
882 g_free(message); 882 g_free(message);
883 message = buffy; 883 message = buffy;
884 } 884 }
885 885
886 /* 886 /*
1091 b = gaim_find_buddy(account, name); 1091 b = gaim_find_buddy(account, name);
1092 1092
1093 if (signon && (GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl)->options & 1093 if (signon && (GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl)->options &
1094 OPT_PROTO_CORRECT_TIME)) { 1094 OPT_PROTO_CORRECT_TIME)) {
1095 1095
1096 char *tmp = g_strdup(normalize(name)); 1096 char *tmp = g_strdup(gaim_normalize(name));
1097 if (!gaim_utf8_strcasecmp(tmp, 1097 if (!gaim_utf8_strcasecmp(tmp,
1098 normalize(gaim_account_get_username(account)))) { 1098 gaim_normalize(gaim_account_get_username(account)))) {
1099 1099
1100 gc->evil = evil; 1100 gc->evil = evil;
1101 gc->login_time_official = signon; 1101 gc->login_time_official = signon;
1102 /*update_idle_times();*/ 1102 /*update_idle_times();*/
1103 } 1103 }
1483 message = buffy; 1483 message = buffy;
1484 1484
1485 1485
1486 1486
1487 if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_urls_as_links")) 1487 if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_urls_as_links"))
1488 buf = linkify_text(message); 1488 buf = gaim_markup_linkify(message);
1489 else 1489 else
1490 buf = g_strdup(message); 1490 buf = g_strdup(message);
1491 1491
1492 if (whisper) 1492 if (whisper)
1493 w = GAIM_MESSAGE_WHISPER; 1493 w = GAIM_MESSAGE_WHISPER;