diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-11 17:12:27 +0200 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-11 17:12:27 +0200 | 
| commit | 1c8e5f7fba87b6096a7fd86508ca1821876abb54 (patch) | |
| tree | 4550a2bac9ceb7e7d60f98fdb87242a1a7c036d1 /irc.h | |
| parent | 70ac4771ebf3358d7bec9bd6fe37cde4c23223bc (diff) | |
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).
Diffstat (limited to 'irc.h')
| -rw-r--r-- | irc.h | 7 | 
1 files changed, 4 insertions, 3 deletions
| @@ -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; | 
