diff options
| author | 2008-10-18 16:52:53 +0000 | |
|---|---|---|
| committer | 2008-10-18 16:52:53 +0000 | |
| commit | 3c055715a27fead89fab680e446f166e2da7a68a (patch) | |
| tree | 8db973f43635b0b6d19dfc4d609c2132939a9eeb /src/modules/m_spy.cpp | |
| parent | Document channels/auspex permission: allows opers with this priv to see more ... (diff) | |
| download | inspircd++-3c055715a27fead89fab680e446f166e2da7a68a.tar.gz inspircd++-3c055715a27fead89fab680e446f166e2da7a68a.tar.bz2 inspircd++-3c055715a27fead89fab680e446f166e2da7a68a.zip | |
Implement channels/auspex priv for /names and /list.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10666 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spy.cpp')
| -rw-r--r-- | src/modules/m_spy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spy.cpp b/src/modules/m_spy.cpp index 54d2983b0..75fe2b367 100644 --- a/src/modules/m_spy.cpp +++ b/src/modules/m_spy.cpp @@ -25,8 +25,8 @@ class ModuleSpy : public Module virtual int OnUserList(User* user, Channel* Ptr, CUList* &nameslist) { - /* User is an oper and is NOT on the channel */ - if (IS_OPER(user) && !Ptr->HasUser(user)) + /* User has priv and is NOT on the channel */ + if (user->HasPrivPermission("channels/auspex") && !Ptr->HasUser(user)) return -1; return 0; |
