diff options
| author | 2007-05-10 20:53:31 +0000 | |
|---|---|---|
| committer | 2007-05-10 20:53:31 +0000 | |
| commit | 276bbd193ed9dc53f44a4f564401d577d8e31424 (patch) | |
| tree | e0c369d20e9fb56b0bb36bf015bfcc64f9e04b92 /src/modules/m_ssl_dummy.cpp | |
| parent | Patch by djGrrr to WHOIS to fix up another potential information leak, now re... (diff) | |
| download | inspircd++-276bbd193ed9dc53f44a4f564401d577d8e31424.tar.gz inspircd++-276bbd193ed9dc53f44a4f564401d577d8e31424.tar.bz2 inspircd++-276bbd193ed9dc53f44a4f564401d577d8e31424.zip | |
Add m_taxonomy and api minor tweak to make it work, enable some modules for it.
I have higher aims for this module, namely a neat fix for feature request in bug #285
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6967 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_ssl_dummy.cpp')
| -rw-r--r-- | src/modules/m_ssl_dummy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_ssl_dummy.cpp b/src/modules/m_ssl_dummy.cpp index 69e4da3e1..6f1ee4789 100644 --- a/src/modules/m_ssl_dummy.cpp +++ b/src/modules/m_ssl_dummy.cpp @@ -52,7 +52,7 @@ class ModuleSSLDummy : public Module } } - virtual void OnSyncUserMetaData(userrec* user, Module* proto, void* opaque, const std::string &extname) + virtual void OnSyncUserMetaData(userrec* user, Module* proto, void* opaque, const std::string &extname, bool displayable) { // check if the linking module wants to know about OUR metadata if(extname == "ssl") @@ -62,7 +62,7 @@ class ModuleSSLDummy : public Module { // call this function in the linking module, let it format the data how it // sees fit, and send it on its way. We dont need or want to know how. - proto->ProtoSendMetaData(opaque, TYPE_USER, user, extname, "ON"); + proto->ProtoSendMetaData(opaque, TYPE_USER, user, extname, displayable ? "Enabled" : "ON"); } } } |
