From b95932eb5a897fd264f3762493285dd7037dccba Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Fri, 26 Mar 2010 23:39:23 -0400 Subject: Added WHOIS command. --- irc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'irc.h') diff --git a/irc.h b/irc.h index db07109d..646281ff 100644 --- a/irc.h +++ b/irc.h @@ -86,6 +86,8 @@ typedef struct irc typedef struct irc_user { + irc_t *irc; + char *nick; char *user; char *host; @@ -158,6 +160,7 @@ void irc_send_join( irc_channel_t *ic, irc_user_t *iu ); void irc_send_part( irc_channel_t *ic, irc_user_t *iu, const char *reason ); void irc_send_names( irc_channel_t *ic ); void irc_send_topic( irc_channel_t *ic ); +void irc_send_whois( irc_user_t *iu ); /* irc_user.c */ irc_user_t *irc_user_new( irc_t *irc, const char *nick ); -- cgit v1.2.3