summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2016-02-28 11:18:35 +0000
committerPeter Powell <petpow@saberuk.com>2016-03-24 09:56:02 +0000
commit5ebd2845c89db5c29c9379b2096252c1d918336c (patch)
tree21371fc6485413370d6d646e1cc591aca808a739 /src/modules
parent8a545d0044db581616f265f6e55e51ed83a23eba (diff)
Add support for SASL reauthentication.
Diffstat (limited to 'src/modules')
-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;