summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-05-30 03:07:22 +0200
committerattilamolnar <attilamolnar@hush.com>2012-05-30 03:07:22 +0200
commit1debdd986a562c2dc4053c7ade8b6c5fdf567e73 (patch)
treee10dbdc0955ff56ee5b761235942c0cd0b02eb4b
parent7ca4e7f0450b376902b4987190e06c2a719a89c4 (diff)
m_autoop Fix desync issue #37 reported by @Joah - part 1
-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);
}
}