summaryrefslogtreecommitdiff
path: root/src/modules/m_opermd5.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-03 21:38:29 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-03 21:38:29 +0000
commit547ee1342e8b07bcdf46bc81343d1a1f7a2998e5 (patch)
treebff11b7c236893ebe4e7cc86f4beba0d7a27c49e /src/modules/m_opermd5.cpp
parent8cb9b91cf7789e14d332cd125d708d956db39c78 (diff)
YAY! A module which allows a user to oper via their ssl key fingerprint.
This is largely untested stuff here, be careful with it. Use /fingerprint to get the user's fingerprint (or ask them for it) and then put the fingerprint into the password field of their oper block. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5130 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_opermd5.cpp')
-rw-r--r--src/modules/m_opermd5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_opermd5.cpp b/src/modules/m_opermd5.cpp
index 9ac896e81..e6fd8023b 100644
--- a/src/modules/m_opermd5.cpp
+++ b/src/modules/m_opermd5.cpp
@@ -319,7 +319,7 @@ class ModuleOperMD5 : public Module
{
return 1;
}
- else return -1;
+ else return 0;
}
return 0;
}