summaryrefslogtreecommitdiff
path: root/src/modules/m_services.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-13 17:47:35 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-13 17:47:35 +0000
commit5f02706fb0a3db069a2e5a7754c2aad91cbe86e4 (patch)
tree7682bffdb4366c119b064a7db4b6cd37bbf4b8bd /src/modules/m_services.cpp
parent456516e3f5372cb0e8f135ce39d4de7df988cb93 (diff)
Merge jamies many patches
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5223 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_services.cpp')
-rw-r--r--src/modules/m_services.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp
index 856a93b85..63f04287a 100644
--- a/src/modules/m_services.cpp
+++ b/src/modules/m_services.cpp
@@ -231,7 +231,7 @@ class ModuleServices : public Module
if (target_type == TYPE_USER)
{
userrec* u = (userrec*)dest;
- if ((u->IsModeSet('R')) && (user->IsModeSet('r')))
+ if ((u->IsModeSet('R')) && (!user->IsModeSet('r')))
{
if ((ServerInstance->ULine(user->nick)) || (ServerInstance->ULine(user->server)))
{
@@ -257,7 +257,7 @@ class ModuleServices : public Module
{
if (chan->IsModeSet('R'))
{
- if (user->IsModeSet('r'))
+ if (!user->IsModeSet('r'))
{
if ((ServerInstance->ULine(user->nick)) || (ServerInstance->ULine(user->server)))
{