summaryrefslogtreecommitdiff
path: root/modules/protocol/hybrid.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-08-10 17:45:39 -0400
committerAdam <Adam@anope.org>2013-08-10 17:59:31 -0400
commitc507c78d5aa7e1a194acfce2e56e8ed7d6488b1d (patch)
tree92495d847f7eb27935303f4b79f012bb89e89bfb /modules/protocol/hybrid.cpp
parent58c05687bf7b365c9be7791f8128dbd0da56f5ca (diff)
Do not have ratbox or plexus pull modes from hybrid, it is entirely too confusing. Also fix cs_mode config
Diffstat (limited to 'modules/protocol/hybrid.cpp')
-rw-r--r--modules/protocol/hybrid.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/protocol/hybrid.cpp b/modules/protocol/hybrid.cpp
index 07977b961..a07cb62fb 100644
--- a/modules/protocol/hybrid.cpp
+++ b/modules/protocol/hybrid.cpp
@@ -622,7 +622,8 @@ public:
message_sjoin(this), message_svsmode(this), message_tburst(this), message_tmode(this), message_uid(this),
message_certfp(this)
{
- this->AddModes();
+ if (Config->GetModule(this))
+ this->AddModes();
}
void OnUserNickChange(User *u, const Anope::string &) anope_override