comparison src/protocols/irc/irc.c @ 4509:cf2f5a1f1e46

[gaim-migrate @ 4785] Added support for numeric 320 (used on freenode to determine if a person is identified to services). Thanks misato/Jason/ayanami! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 02 Feb 2003 07:51:54 +0000
parents 3196d9044a45
children 7521e29658bc
comparison
equal deleted inserted replaced
4508:4c40fccbd7c9 4509:cf2f5a1f1e46
945 id->liststr = g_string_append(id->liststr, "<b>Idle Time: </b>"); 945 id->liststr = g_string_append(id->liststr, "<b>Idle Time: </b>");
946 break; 946 break;
947 case 319: 947 case 319:
948 id->liststr = g_string_append(id->liststr, "<b>Channels: </b>"); 948 id->liststr = g_string_append(id->liststr, "<b>Channels: </b>");
949 break; 949 break;
950 /* Numeric 320 is used by the freenode irc network for showing
951 * that a user is identified to services (Jason Straw <misato@wopn.org>)*/
952 case 320:
953 g_snprintf(tmp, sizeof(tmp), "%s is an Identified User", word[4]);
954 id->liststr = g_string_append(id->liststr, tmp);
955 return;
950 default: 956 default:
951 break; 957 break;
952 } 958 }
953 959
954 if (word_eol[5][0] == ':') 960 if (word_eol[5][0] == ':')
1032 case 312: /* RPL_WHOISSERVER */ 1038 case 312: /* RPL_WHOISSERVER */
1033 case 313: /* RPL_WHOISOPERATOR */ 1039 case 313: /* RPL_WHOISOPERATOR */
1034 case 314: /* RPL_WHOWASUSER */ 1040 case 314: /* RPL_WHOWASUSER */
1035 case 317: /* RPL_WHOISIDLE */ 1041 case 317: /* RPL_WHOISIDLE */
1036 case 319: /* RPL_WHOISCHANNELS */ 1042 case 319: /* RPL_WHOISCHANNELS */
1043 case 320: /* FreeNode Identified */
1037 handle_whois(gc, word, word_eol, n); 1044 handle_whois(gc, word, word_eol, n);
1038 break; 1045 break;
1039 case 322: /* RPL_LIST */ 1046 case 322: /* RPL_LIST */
1040 handle_roomlist(gc, word, word_eol); 1047 handle_roomlist(gc, word, word_eol);
1041 break; 1048 break;