From 6253e3ac375b9203cf232329069cbd695a7ded5a Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 21 May 2010 18:19:02 +0200 Subject: Add optional message in IRC private buffer when nick is back on server after a /quit New option: "irc.look.display_pv_back" (default value is "on"). Option "irc.look.show_away_once" has been renamed to "irc.look.display_pv_away_once". --- src/plugins/irc/irc-channel.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/plugins/irc/irc-channel.h') diff --git a/src/plugins/irc/irc-channel.h b/src/plugins/irc/irc-channel.h index 38d5bb933..00d4191ec 100644 --- a/src/plugins/irc/irc-channel.h +++ b/src/plugins/irc/irc-channel.h @@ -49,6 +49,8 @@ struct t_irc_channel char *key; /* channel key (NULL if no key set) */ int checking_away; /* = 1 if checking away with WHO cmd */ char *away_message; /* to display away only once in pv */ + int has_quit_server; /* =1 if nick has quit (pv only), to */ + /* display message when he's back */ int cycle; /* currently cycling (/part + /join) */ int display_creation_date; /* 1 for displaying creation date */ int nick_completion_reset; /* 1 for resetting nick completion */ @@ -112,6 +114,9 @@ extern void irc_channel_nick_speaking_time_rename (struct t_irc_channel *channel extern void irc_channel_rejoin (struct t_irc_server *server, struct t_irc_channel *channel); extern int irc_channel_autorejoin_cb (void *data, int remaining_calls); +extern void irc_channel_display_nick_back_in_pv (struct t_irc_server *server, + struct t_irc_nick *nick, + const char *nickname); extern int irc_channel_add_to_infolist (struct t_infolist *infolist, struct t_irc_channel *channel); extern void irc_channel_print_log (struct t_irc_channel *channel); -- cgit v1.2.3