summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-03-24 10:57:11 +0100
committerAttila Molnar <attilamolnar@hush.com>2016-03-24 10:57:11 +0100
commit8d716c51554b19d112b22ad84a97f6e2233eedaa (patch)
tree21371fc6485413370d6d646e1cc591aca808a739
parent8a545d0044db581616f265f6e55e51ed83a23eba (diff)
parent5ebd2845c89db5c29c9379b2096252c1d918336c (diff)
Merge pull request #1149 from SaberUK/master+sasl
Add support for SASL reauthentication.
-rw-r--r--src/modules/m_sasl.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp
index e749d16b4..639fe6778 100644
--- a/src/modules/m_sasl.cpp
+++ b/src/modules/m_sasl.cpp
@@ -223,8 +223,6 @@ class CommandAuthenticate : public Command
CmdResult Handle (const std::vector<std::string>& parameters, User *user)
{
- /* Only allow AUTHENTICATE on unregistered clients */
- if (user->registered != REG_ALL)
{
if (!cap.get(user))
return CMD_FAILURE;