diff options
-rw-r--r-- | src/modules/m_operjoin.cpp | 3 |
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; |