summaryrefslogtreecommitdiff
path: root/src/modules/m_services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_services.cpp')
-rw-r--r--src/modules/m_services.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp
index 207079da0..5da01f979 100644
--- a/src/modules/m_services.cpp
+++ b/src/modules/m_services.cpp
@@ -222,6 +222,9 @@ class ModuleServices : public Module
virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
{
+ if (!IS_LOCAL(user))
+ return 0;
+
if (target_type == TYPE_CHANNEL)
{
chanrec* c = (chanrec*)dest;