summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_ssl_oper_cert.cpp8
-rw-r--r--src/modules/extra/m_sslinfo.cpp8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/extra/m_ssl_oper_cert.cpp b/src/modules/extra/m_ssl_oper_cert.cpp
index 9ef35f7a3..571dcad06 100644
--- a/src/modules/extra/m_ssl_oper_cert.cpp
+++ b/src/modules/extra/m_ssl_oper_cert.cpp
@@ -19,10 +19,10 @@
/** Handle /FINGERPRINT
*/
-class cmd_fingerprint : public Command
+class CommandFingerprint : public Command
{
public:
- cmd_fingerprint (InspIRCd* Instance) : Command(Instance,"FINGERPRINT", 0, 1)
+ CommandFingerprint (InspIRCd* Instance) : Command(Instance,"FINGERPRINT", 0, 1)
{
this->source = "m_ssl_oper_cert.so";
syntax = "<nickname>";
@@ -67,14 +67,14 @@ class ModuleOperSSLCert : public Module
{
ssl_cert* cert;
bool HasCert;
- cmd_fingerprint* mycommand;
+ CommandFingerprint* mycommand;
ConfigReader* cf;
public:
ModuleOperSSLCert(InspIRCd* Me)
: Module(Me)
{
- mycommand = new cmd_fingerprint(ServerInstance);
+ mycommand = new CommandFingerprint(ServerInstance);
ServerInstance->AddCommand(mycommand);
cf = new ConfigReader(ServerInstance);
Implementation eventlist[] = { I_OnPreCommand, I_OnRehash };
diff --git a/src/modules/extra/m_sslinfo.cpp b/src/modules/extra/m_sslinfo.cpp
index 42e6afed6..52665258e 100644
--- a/src/modules/extra/m_sslinfo.cpp
+++ b/src/modules/extra/m_sslinfo.cpp
@@ -19,10 +19,10 @@
/** Handle /SSLINFO
*/
-class cmd_sslinfo : public Command
+class CommandSSLInfo : public Command
{
public:
- cmd_sslinfo (InspIRCd* Instance) : Command(Instance,"SSLINFO", 0, 1)
+ CommandSSLInfo (InspIRCd* Instance) : Command(Instance,"SSLINFO", 0, 1)
{
this->source = "m_sslinfo.so";
this->syntax = "<nick>";
@@ -61,13 +61,13 @@ class cmd_sslinfo : public Command
class ModuleSSLInfo : public Module
{
- cmd_sslinfo* newcommand;
+ CommandSSLInfo* newcommand;
public:
ModuleSSLInfo(InspIRCd* Me)
: Module(Me)
{
- newcommand = new cmd_sslinfo(ServerInstance);
+ newcommand = new CommandSSLInfo(ServerInstance);
ServerInstance->AddCommand(newcommand);
}