Mercurial > pidgin
comparison src/protocols/irc/irc.c @ 9917:e74eb0d11f86
[gaim-migrate @ 10809]
view chat logs curtesy of datallah
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Tue, 31 Aug 2004 01:45:12 +0000 |
parents | 4a8bf81b82ae |
children | f8e395a054e2 |
comparison
equal
deleted
inserted
replaced
9916:4d17a945aab3 | 9917:e74eb0d11f86 |
---|---|
425 const char *args[2]; | 425 const char *args[2]; |
426 | 426 |
427 args[0] = g_hash_table_lookup(data, "channel"); | 427 args[0] = g_hash_table_lookup(data, "channel"); |
428 args[1] = g_hash_table_lookup(data, "password"); | 428 args[1] = g_hash_table_lookup(data, "password"); |
429 irc_cmd_join(irc, "join", NULL, args); | 429 irc_cmd_join(irc, "join", NULL, args); |
430 } | |
431 | |
432 static char *irc_get_chat_name(GHashTable *data) { | |
433 return g_strdup(g_hash_table_lookup(data, "channel")); | |
430 } | 434 } |
431 | 435 |
432 static void irc_chat_invite(GaimConnection *gc, int id, const char *message, const char *name) | 436 static void irc_chat_invite(GaimConnection *gc, int id, const char *message, const char *name) |
433 { | 437 { |
434 struct irc_conn *irc = gc->proto_data; | 438 struct irc_conn *irc = gc->proto_data; |
611 NULL, /* rem_deny */ | 615 NULL, /* rem_deny */ |
612 NULL, /* set_permit_deny */ | 616 NULL, /* set_permit_deny */ |
613 NULL, /* warn */ | 617 NULL, /* warn */ |
614 irc_chat_join, /* join_chat */ | 618 irc_chat_join, /* join_chat */ |
615 NULL, /* reject_chat */ | 619 NULL, /* reject_chat */ |
620 irc_get_chat_name, /* get_chat_name */ | |
616 irc_chat_invite, /* chat_invite */ | 621 irc_chat_invite, /* chat_invite */ |
617 irc_chat_leave, /* chat_leave */ | 622 irc_chat_leave, /* chat_leave */ |
618 NULL, /* chat_whisper */ | 623 NULL, /* chat_whisper */ |
619 irc_chat_send, /* chat_send */ | 624 irc_chat_send, /* chat_send */ |
620 NULL, /* keepalive */ | 625 NULL, /* keepalive */ |