aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-06-28 10:03:39 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-06-28 10:03:39 +0100
commitab6006cfec72ae8669c68f2892cf1c9994740c92 (patch)
treeba393d5e2badd7a64fc2d521fe5a415f6798ed13 /irc.h
parentc7eb7719b4642b72669d280d4c24c54109ed0d28 (diff)
Callers shouldn't have to expect that irc_channel_del_user() frees the channel
so if it wants to (temporary channels), do it via a timer.
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/irc.h b/irc.h
index b9257645..9bfb23b1 100644
--- a/irc.h
+++ b/irc.h
@@ -228,6 +228,7 @@ irc_channel_t *irc_channel_new( irc_t *irc, const char *name );
irc_channel_t *irc_channel_by_name( irc_t *irc, const char *name );
irc_channel_t *irc_channel_get( irc_t *irc, char *id );
int irc_channel_free( irc_channel_t *ic );
+void irc_channel_free_soon( irc_channel_t *ic );
int irc_channel_add_user( irc_channel_t *ic, irc_user_t *iu );
int irc_channel_del_user( irc_channel_t *ic, irc_user_t *iu, gboolean silent, const char *msg );
irc_channel_user_t *irc_channel_has_user( irc_channel_t *ic, irc_user_t *iu );