summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-channel.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-05-21 18:19:02 +0200
committerSebastien Helleu <flashcode@flashtux.org>2010-05-21 18:19:02 +0200
commit6253e3ac375b9203cf232329069cbd695a7ded5a (patch)
treeb2f26302d1aa5dfab9122f8c00fe4d93bca237b8 /src/plugins/irc/irc-channel.h
parent61886d9455c1fa2d0fb428c8fc632b3d60f7fce2 (diff)
downloadweechat-6253e3ac375b9203cf232329069cbd695a7ded5a.zip
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".
Diffstat (limited to 'src/plugins/irc/irc-channel.h')
-rw-r--r--src/plugins/irc/irc-channel.h5
1 files changed, 5 insertions, 0 deletions
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);