summaryrefslogtreecommitdiff
path: root/src/modules/m_autoop.cpp
diff options
context:
space:
mode:
authorRobin Burchell <viroteck@viroteck.net>2012-06-01 01:07:36 -0700
committerRobin Burchell <viroteck@viroteck.net>2012-06-01 01:07:36 -0700
commit3af9c3f8950f864bcf9cdd56127cd4014827dece (patch)
tree4462b3d8f34171527d5dc9f7d9df15f6262fea52 /src/modules/m_autoop.cpp
parenteb591031a2403e53829d146ed8cf18acdf004ed7 (diff)
parent0428951093c38d0c3ba1ae69b8167be51a02236b (diff)
Merge pull request #179 from attilamolnar/insp20+desyncfix
[2.0] Fix desyncs caused by m_autoop and broken spanningtree routing logic
Diffstat (limited to 'src/modules/m_autoop.cpp')
-rw-r--r--src/modules/m_autoop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_autoop.cpp b/src/modules/m_autoop.cpp
index f239773e9..40a57d7c3 100644
--- a/src/modules/m_autoop.cpp
+++ b/src/modules/m_autoop.cpp
@@ -119,7 +119,7 @@ public:
for(std::string::size_type i = modeline.length(); i > 1; --i) // we use "i > 1" instead of "i" so we skip the +
modechange.push_back(memb->user->nick);
if(modechange.size() >= 3)
- ServerInstance->SendMode(modechange,ServerInstance->FakeClient);
+ ServerInstance->SendGlobalMode(modechange, ServerInstance->FakeClient);
}
}