Mercurial > pidgin
comparison src/protocols/irc/cmds.c @ 10564:cdeb727d1de3
[gaim-migrate @ 11946]
IRC TIME support, thanks to Don Seiler
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Tue, 01 Feb 2005 16:13:09 +0000 |
parents | a66cf83552dc |
children | 6239870efd8e |
comparison
equal
deleted
inserted
replaced
10563:3e2cd3fe8897 | 10564:cdeb727d1de3 |
---|---|
425 g_free(buf); | 425 g_free(buf); |
426 | 426 |
427 return 0; | 427 return 0; |
428 } | 428 } |
429 | 429 |
430 int irc_cmd_time(struct irc_conn *irc, const char *cmd, const char *target, const char **args) | |
431 { | |
432 char *buf; | |
433 | |
434 buf = irc_format(irc, "v", "TIME"); | |
435 irc_send(irc, buf); | |
436 g_free(buf); | |
437 | |
438 return 0; | |
439 } | |
440 | |
430 int irc_cmd_topic(struct irc_conn *irc, const char *cmd, const char *target, const char **args) | 441 int irc_cmd_topic(struct irc_conn *irc, const char *cmd, const char *target, const char **args) |
431 { | 442 { |
432 char *buf; | 443 char *buf; |
433 const char *topic; | 444 const char *topic; |
434 GaimConversation *convo; | 445 GaimConversation *convo; |