From 1c8e5f7fba87b6096a7fd86508ca1821876abb54 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Fri, 11 Jun 2010 17:12:27 +0200 Subject: Added away_reply_timeout setting so BitlBee will suppress away messages sent in response to PRIVMSG if one was sent recently - some IRC clients including irssi don't do this very well (when talking to >1 people who are away for example). --- irc.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'irc.h') diff --git a/irc.h b/irc.h index f694420d..1bbb564a 100644 --- a/irc.h +++ b/irc.h @@ -108,8 +108,9 @@ typedef struct irc_user irc_user_flags_t flags; - GString *pastebuf; + GString *pastebuf; /* Paste buffer (combine lines into a multiline msg). */ guint pastebuf_timer; + time_t away_reply_timeout; /* Only send a 301 if this time passed. */ struct bee_user *bu; @@ -145,10 +146,10 @@ typedef struct irc_channel char *topic_who; time_t topic_time; - GSList *users; + GSList *users; /* struct irc_channel_user */ struct set *set; - GString *pastebuf; + GString *pastebuf; /* Paste buffer (combine lines into a multiline msg). */ guint pastebuf_timer; const struct irc_channel_funcs *f; -- cgit v1.2.3