summaryrefslogtreecommitdiff
path: root/src/modules/m_opermodes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_opermodes.cpp')
-rw-r--r--src/modules/m_opermodes.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_opermodes.cpp b/src/modules/m_opermodes.cpp
index 57eb8ae23..43c271c3d 100644
--- a/src/modules/m_opermodes.cpp
+++ b/src/modules/m_opermodes.cpp
@@ -98,9 +98,7 @@ class ModuleModesOnOper : public Module
}
std::deque<std::string> n;
Event rmode((char *)&n, NULL, "send_mode");
- n.push_back(user->nick);
- n.push_back(modes[0]);
- for (unsigned int j = 1; j < tokens.size(); j++)
+ for (unsigned int j = 0; j < tokens.size(); j++)
{
n.push_back(modes[j]);
}