aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-06-28 01:07:46 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-06-28 01:07:46 +0100
commit1c40aa73b52e4507404c82056170069a859fb0cb (patch)
tree6dd325cd318c645e16c6d01fa8296cd17aaabaa4 /irc.h
parent134a02cd563c395d0026d9d1b07eb136394798ca (diff)
Mark nameless groupchat channels as temporary so they don't stick around
forever.
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/irc.h b/irc.h
index 74e66075..b9257645 100644
--- a/irc.h
+++ b/irc.h
@@ -131,7 +131,9 @@ extern const struct irc_user_funcs irc_user_self_funcs;
typedef enum
{
- IRC_CHANNEL_JOINED = 1,
+ IRC_CHANNEL_JOINED = 1, /* The user is currently in the channel. */
+ IRC_CHANNEL_TEMP = 2, /* Erase the channel when the user leaves,
+ and don't save it. */
/* Hack: Set this flag right before jumping into IM when we expect
a call to imcb_chat_new(). */