summaryrefslogtreecommitdiff
path: root/src/modules/m_operjoin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_operjoin.cpp')
-rw-r--r--src/modules/m_operjoin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp
index ae6abce0b..7150c5b83 100644
--- a/src/modules/m_operjoin.cpp
+++ b/src/modules/m_operjoin.cpp
@@ -76,6 +76,9 @@ class ModuleOperjoin : public Module
virtual void OnPostOper(userrec* user, const std::string &opertype)
{
+ if (!IS_LOCAL(user))
+ return;
+
if (!operChan.empty())
{
std::vector<std::string> operChans;