aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-04 20:45:18 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-04 20:45:18 +0100
commit65016a69bc528ad98ca51d1109627b5a26aa257f (patch)
tree890cbdb4443e6e1871bbb7d7588fcd5a2570d21f /irc.c
parentbce20148efd93f3509c1c2e6efdcc273eefb3ee8 (diff)
Set channel mode +C for control channels.
Diffstat (limited to 'irc.c')
-rw-r--r--irc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/irc.c b/irc.c
index cbbd21a3..e4af555c 100644
--- a/irc.c
+++ b/irc.c
@@ -763,6 +763,8 @@ int irc_check_login( irc_t *irc )
}
}
+/* TODO: This is a mess, but this function is a bit too complicated to be
+ converted to something more generic. */
void irc_umode_set( irc_t *irc, const char *s, gboolean allow_priv )
{
/* allow_priv: Set to 0 if s contains user input, 1 if you want