aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2016-03-21 14:30:44 +0100
committerMarius Halden <marius.h@lden.org>2016-05-07 14:27:54 +0200
commitdab92571b0959a1f1c4805dd6d874421b262aa8c (patch)
treeafd8181cd53df4b2eb64d59094a9be92044b305c /irc_commands.c
parenta21ce7901fd2d4f81cddcd7f5d30346d28dfc316 (diff)
Add authmode sasl
New AuthMode sasl added, when this is used all users have to authenticate with sasl.
Diffstat (limited to 'irc_commands.c')
-rw-r--r--irc_commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/irc_commands.c b/irc_commands.c
index f2d4ddf6..2696eb11 100644
--- a/irc_commands.c
+++ b/irc_commands.c
@@ -149,6 +149,7 @@ static void irc_cmd_authenticate(irc_t *irc, char **cmd)
/* no check_login here - wait for CAP END */
irc_setpass(irc, pass);
}
+ irc->status |= USTATUS_SASL_AUTHENTICATED;
}
g_free(user);