src/protocols/irc/irc.c

changeset 4509
0e33a763917f
parent 4491
715515ab95da
child 4514
40e3588a280f
equal deleted inserted replaced
4508:3b98688619fc 4509:0e33a763917f
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;

mercurial