plugins/napster.c

changeset 1764
d8c1affb29fe
parent 1672
419ada1a93e1
child 1873
66c5f8b3f7fe
equal deleted inserted replaced
1763:18c94e3947d5 1764:d8c1affb29fe
568 return; 568 return;
569 } 569 }
570 570
571 if (command == 0xCD) { 571 if (command == 0xCD) {
572 res = g_strsplit(buf, " ", 1); 572 res = g_strsplit(buf, " ", 1);
573 serv_got_im(gc, res[0], res[1], 0); 573 serv_got_im(gc, res[0], res[1], 0, time((time_t)NULL));
574 g_strfreev(res); 574 g_strfreev(res);
575 free(buf); 575 free(buf);
576 return; 576 return;
577 } 577 }
578 578
641 res = g_strsplit(buf, " ", 2); 641 res = g_strsplit(buf, " ", 2);
642 642
643 channel = find_channel_by_name(gc, res[0]); 643 channel = find_channel_by_name(gc, res[0]);
644 644
645 if (channel) 645 if (channel)
646 serv_got_chat_in(gc, channel->id, res[1], 0, res[2]); 646 serv_got_chat_in(gc, channel->id, res[1], 0, res[2], time((time_t)NULL));
647 647
648 g_strfreev(res); 648 g_strfreev(res);
649 free(buf); 649 free(buf);
650 return; 650 return;
651 } 651 }

mercurial