diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_ssl_oper_cert.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_cban.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_check.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_chghost.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_chgident.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_devoice.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_globalload.cpp | 5 | ||||
-rw-r--r-- | src/modules/m_globops.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_opermd5.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_opersha256.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_remove.cpp | 6 |
11 files changed, 32 insertions, 11 deletions
diff --git a/src/modules/extra/m_ssl_oper_cert.cpp b/src/modules/extra/m_ssl_oper_cert.cpp index 2d626e77d..1f11e9b68 100644 --- a/src/modules/extra/m_ssl_oper_cert.cpp +++ b/src/modules/extra/m_ssl_oper_cert.cpp @@ -27,6 +27,8 @@ using namespace std; #include "ssl_cert.h" #include "wildcard.h" +/** Handle /FINGERPRINT + */ class cmd_fingerprint : public command_t { public: diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index a7af325b9..ce2550ba3 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -51,6 +51,8 @@ typedef std::vector<CBan> cbanlist; /* cbans is declared here, as our type is right above. Don't try move it. */ cbanlist cbans; +/** Handle /CBAN + */ class cmd_cban : public command_t { public: diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 4f153d496..86bc9cef5 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -24,8 +24,8 @@ using namespace std; /* $ModDesc: Provides the /check command to retrieve information on a user, channel, or IP address */ - - +/** Handle /CHECK + */ class cmd_check : public command_t { public: diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index 18853ac2d..3a80ceb1a 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -26,8 +26,8 @@ using namespace std; /* $ModDesc: Provides support for the CHGHOST command */ - - +/** Handle /CHGHOST + */ class cmd_chghost : public command_t { public: diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp index ec136ebdb..412c3a6a5 100644 --- a/src/modules/m_chgident.cpp +++ b/src/modules/m_chgident.cpp @@ -6,8 +6,8 @@ /* $ModDesc: Provides support for the CHGIDENT command */ - - +/** Handle /CHGIDENT + */ class cmd_chgident : public command_t { public: diff --git a/src/modules/m_devoice.cpp b/src/modules/m_devoice.cpp index fb5b4bc83..c1f4e3bc8 100644 --- a/src/modules/m_devoice.cpp +++ b/src/modules/m_devoice.cpp @@ -29,8 +29,8 @@ using namespace std; #include "modules.h" #include "inspircd.h" - - +/** Handle /DEVOICE + */ class cmd_devoice : public command_t { public: diff --git a/src/modules/m_globalload.cpp b/src/modules/m_globalload.cpp index e65f90b64..4992b47af 100644 --- a/src/modules/m_globalload.cpp +++ b/src/modules/m_globalload.cpp @@ -24,7 +24,8 @@ using namespace std; #include "modules.h" #include "inspircd.h" - +/** Handle /GLOADMODULE + */ class cmd_gloadmodule : public command_t { public: @@ -50,6 +51,8 @@ class cmd_gloadmodule : public command_t } }; +/** Handle /GUNLOADMODULE + */ class cmd_gunloadmodule : public command_t { public: diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp index 5cd17841d..c7889f1a7 100644 --- a/src/modules/m_globops.cpp +++ b/src/modules/m_globops.cpp @@ -27,8 +27,8 @@ using namespace std; /* $ModDesc: Provides support for GLOBOPS and user mode +g */ - - +/** Handle /GLOBOPS + */ class cmd_globops : public command_t { public: diff --git a/src/modules/m_opermd5.cpp b/src/modules/m_opermd5.cpp index 723513de8..1e085deae 100644 --- a/src/modules/m_opermd5.cpp +++ b/src/modules/m_opermd5.cpp @@ -46,6 +46,8 @@ typedef unsigned int uint32_t; typedef uint32_t word32; /* NOT unsigned long. We don't support 16 bit platforms, anyway. */ typedef unsigned char byte; +/** An MD5 context, used by m_opermd5 + */ class MD5Context : public classbase { public: @@ -269,6 +271,8 @@ void GenHash(const char* src, char* dest) strcpy(dest,hash); } +/** Handle /MKPASSWD + */ class cmd_mkpasswd : public command_t { public: diff --git a/src/modules/m_opersha256.cpp b/src/modules/m_opersha256.cpp index 40fa3e949..44b2c936d 100644 --- a/src/modules/m_opersha256.cpp +++ b/src/modules/m_opersha256.cpp @@ -56,6 +56,8 @@ using namespace std; typedef unsigned int uint32_t; #endif +/** An sha 256 context, used by m_opersha256 + */ class SHA256Context : public classbase { public: @@ -225,6 +227,8 @@ void SHA256(const char *src, char *dest, int len) } } +/** Handle /MKSHA256 + */ class cmd_mksha256 : public command_t { public: diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index 36f056451..eeb5ee1a1 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -32,6 +32,8 @@ * eg: +h can remove +hv and users with no modes. +a can remove +aohv and users with no modes. */ +/** Base class for /FPART and /REMOVE + */ class RemoveBase { private: @@ -220,6 +222,8 @@ class RemoveBase } }; +/** Handle /REMOVE + */ class cmd_remove : public command_t, public RemoveBase { public: @@ -235,6 +239,8 @@ class cmd_remove : public command_t, public RemoveBase } }; +/** Handle /FPART + */ class cmd_fpart : public command_t, public RemoveBase { public: |