summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_banexception.cpp1
-rw-r--r--src/modules/m_blockcaps.cpp1
-rw-r--r--src/modules/m_blockcolor.cpp1
-rw-r--r--src/modules/m_censor.cpp1
-rw-r--r--src/modules/m_chanfilter.cpp1
-rw-r--r--src/modules/m_chanprotect.cpp1
-rw-r--r--src/modules/m_inviteexception.cpp1
-rw-r--r--src/modules/m_joinflood.cpp1
-rw-r--r--src/modules/m_kicknorejoin.cpp1
-rw-r--r--src/modules/m_knock.cpp1
-rw-r--r--src/modules/m_messageflood.cpp1
-rw-r--r--src/modules/m_noctcp.cpp1
-rw-r--r--src/modules/m_noinvite.cpp1
-rw-r--r--src/modules/m_nokicks.cpp1
-rw-r--r--src/modules/m_nonicks.cpp1
-rw-r--r--src/modules/m_nonotice.cpp1
-rw-r--r--src/modules/m_operchans.cpp1
-rw-r--r--src/modules/m_redirect.cpp1
-rw-r--r--src/modules/m_services.cpp1
-rw-r--r--src/modules/m_services_account.cpp1
-rw-r--r--src/modules/m_sslmodes.cpp1
-rw-r--r--src/modules/m_stripcolor.cpp1
22 files changed, 0 insertions, 22 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp
index 82939231f..5f2f6f92a 100644
--- a/src/modules/m_banexception.cpp
+++ b/src/modules/m_banexception.cpp
@@ -49,7 +49,6 @@ public:
virtual void On005Numeric(std::string &output)
{
output.append(" EXCEPTS=e");
- ServerInstance->Modes->InsertMode(output, "e", 1);
}
virtual int OnCheckBan(userrec* user, chanrec* chan)
diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp
index b105e1dc5..a5a2ae5ff 100644
--- a/src/modules/m_blockcaps.cpp
+++ b/src/modules/m_blockcaps.cpp
@@ -74,7 +74,6 @@ public:
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output, "P", 4);
}
virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text, char status)
diff --git a/src/modules/m_blockcolor.cpp b/src/modules/m_blockcolor.cpp
index 978c72e52..2c73da3fc 100644
--- a/src/modules/m_blockcolor.cpp
+++ b/src/modules/m_blockcolor.cpp
@@ -76,7 +76,6 @@ class ModuleBlockColour : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output,"c",4);
}
virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text, char status)
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp
index a1aba037d..bbf148657 100644
--- a/src/modules/m_censor.cpp
+++ b/src/modules/m_censor.cpp
@@ -139,7 +139,6 @@ class ModuleCensor : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output,"G",4);
}
virtual ~ModuleCensor()
diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp
index 693b1788d..52ba5c0a0 100644
--- a/src/modules/m_chanfilter.cpp
+++ b/src/modules/m_chanfilter.cpp
@@ -86,7 +86,6 @@ class ModuleChanFilter : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output,"g",1);
}
virtual void OnChannelDelete(chanrec* chan)
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp
index 981f14f2e..832798b1f 100644
--- a/src/modules/m_chanprotect.cpp
+++ b/src/modules/m_chanprotect.cpp
@@ -273,7 +273,6 @@ class ModuleChanProtect : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output,"qa",1);
}
virtual void OnUserKick(userrec* source, userrec* user, chanrec* chan, const std::string &reason)
diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp
index ba582555d..234f7bfbc 100644
--- a/src/modules/m_inviteexception.cpp
+++ b/src/modules/m_inviteexception.cpp
@@ -48,7 +48,6 @@ public:
virtual void On005Numeric(std::string &output)
{
output.append(" INVEX=I");
- ServerInstance->Modes->InsertMode(output, "I", 1);
}
virtual int OnCheckInvite(userrec* user, chanrec* chan)
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp
index 7f12d5cce..7fc978e4c 100644
--- a/src/modules/m_joinflood.cpp
+++ b/src/modules/m_joinflood.cpp
@@ -245,7 +245,6 @@ class ModuleJoinFlood : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output, "j", 3);
}
virtual ~ModuleJoinFlood()
diff --git a/src/modules/m_kicknorejoin.cpp b/src/modules/m_kicknorejoin.cpp
index 35aecc894..353d62ead 100644
--- a/src/modules/m_kicknorejoin.cpp
+++ b/src/modules/m_kicknorejoin.cpp
@@ -168,7 +168,6 @@ public:
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output, "J", 3);
}
virtual ~ModuleKickNoRejoin()
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp
index 092ce999f..de9010f89 100644
--- a/src/modules/m_knock.cpp
+++ b/src/modules/m_knock.cpp
@@ -125,7 +125,6 @@ class ModuleKnock : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output,"K",4);
}
virtual ~ModuleKnock()
diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp
index 5a4f03340..dc2513f3d 100644
--- a/src/modules/m_messageflood.cpp
+++ b/src/modules/m_messageflood.cpp
@@ -265,7 +265,6 @@ class ModuleMsgFlood : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output, "f", 3);
}
virtual ~ModuleMsgFlood()
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp
index 885f2dd54..008fdae5e 100644
--- a/src/modules/m_noctcp.cpp
+++ b/src/modules/m_noctcp.cpp
@@ -77,7 +77,6 @@ class ModuleNoCTCP : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output,"C",4);
}
virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text, char status)
diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp
index 9e4d37ff1..158dec8b2 100644
--- a/src/modules/m_noinvite.cpp
+++ b/src/modules/m_noinvite.cpp
@@ -76,7 +76,6 @@ class ModuleNoInvite : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output,"V",4);
}
diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp
index abf4f8034..5936d4ccd 100644
--- a/src/modules/m_nokicks.cpp
+++ b/src/modules/m_nokicks.cpp
@@ -77,7 +77,6 @@ class ModuleNoKicks : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output,"Q",4);
}
virtual int OnAccessCheck(userrec* source,userrec* dest,chanrec* channel,int access_type)
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp
index 9d2a3d9eb..c3caf576a 100644
--- a/src/modules/m_nonicks.cpp
+++ b/src/modules/m_nonicks.cpp
@@ -89,7 +89,6 @@ class ModuleNoNickChange : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output,"N",4);
}
virtual int OnUserPreNick(userrec* user, const std::string &newnick)
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp
index c6de6dbdf..978353229 100644
--- a/src/modules/m_nonotice.cpp
+++ b/src/modules/m_nonotice.cpp
@@ -98,7 +98,6 @@ class ModuleNoNotice : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output,"T",4);
}
virtual ~ModuleNoNotice()
diff --git a/src/modules/m_operchans.cpp b/src/modules/m_operchans.cpp
index 2bb1299c9..c4c95bcdc 100644
--- a/src/modules/m_operchans.cpp
+++ b/src/modules/m_operchans.cpp
@@ -76,7 +76,6 @@ class ModuleOperChans : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output,"O",4);
}
virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname)
diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp
index efe780989..34961e013 100644
--- a/src/modules/m_redirect.cpp
+++ b/src/modules/m_redirect.cpp
@@ -125,7 +125,6 @@ class ModuleRedirect : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output, "L", 3);
}
virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname)
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp
index 0a7e3adff..aad54ffa2 100644
--- a/src/modules/m_services.cpp
+++ b/src/modules/m_services.cpp
@@ -191,7 +191,6 @@ class ModuleServices : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output, "rRM", 4);
}
/* <- :stitch.chatspike.net 307 w00t w00t :is a registered nick */
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp
index 5ddbbb979..aff73dde5 100644
--- a/src/modules/m_services_account.cpp
+++ b/src/modules/m_services_account.cpp
@@ -133,7 +133,6 @@ class ModuleServicesAccount : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output, "RM", 4);
}
/* <- :twisted.oscnet.org 330 w00t2 w00t2 w00t :is logged in as */
diff --git a/src/modules/m_sslmodes.cpp b/src/modules/m_sslmodes.cpp
index 9cc3f2872..7e26de8c2 100644
--- a/src/modules/m_sslmodes.cpp
+++ b/src/modules/m_sslmodes.cpp
@@ -76,7 +76,6 @@ class ModuleSSLModes : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output, "z", 4);
}
virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname)
diff --git a/src/modules/m_stripcolor.cpp b/src/modules/m_stripcolor.cpp
index 293b5ee13..d3372d848 100644
--- a/src/modules/m_stripcolor.cpp
+++ b/src/modules/m_stripcolor.cpp
@@ -120,7 +120,6 @@ class ModuleStripColor : public Module
virtual void On005Numeric(std::string &output)
{
- ServerInstance->Modes->InsertMode(output,"S",4);
}
virtual ~ModuleStripColor()