summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-30 22:48:21 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-30 22:48:21 +0000
commita85c2d262d1ab3bf5745a146d905705d0a0b6983 (patch)
tree42a427e641173f6c2cdabcf3751a7c243da39c48
parent1f960a7c7e55ebe1ea1591b410ed105ec88ae2e0 (diff)
hidechans: allow showing on self whois, QA, test if you're bored :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6719 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_hidechans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_hidechans.cpp b/src/modules/m_hidechans.cpp
index 7bb2a21c4..61f476f70 100644
--- a/src/modules/m_hidechans.cpp
+++ b/src/modules/m_hidechans.cpp
@@ -87,7 +87,7 @@ class ModuleHideChans : public Module
/* Dont display channels if they have +I set and the
* person doing the WHOIS is not an oper
*/
- return ((!*user->oper) && (numeric == 319) && dest->IsModeSet('I'));
+ return ((user != dest) && (!*user->oper) && (numeric == 319) && dest->IsModeSet('I'));
}
};