diff options
Diffstat (limited to 'src/channel.c')
-rw-r--r-- | src/channel.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/channel.c b/src/channel.c index 0bab47a62..13fb65302 100644 --- a/src/channel.c +++ b/src/channel.c @@ -341,6 +341,12 @@ add_channel(void) return channel; } + int +has_any_channel(void) +{ + return first_channel != NULL; +} + /* * Called when the refcount of a channel is zero. * Return TRUE if "channel" has a callback and the associated job wasn't |