mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-21 00:19:02 -04:00
...and actually take out the +i restriction
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5430 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
9f80dcb281
commit
3c401ee4f6
@ -49,15 +49,6 @@ void spy_userlist(userrec *user, chanrec *c)
|
|||||||
|
|
||||||
for (CUList::iterator i = ulist->begin(); i != ulist->end(); i++)
|
for (CUList::iterator i = ulist->begin(); i != ulist->end(); i++)
|
||||||
{
|
{
|
||||||
if ((!has_user) && (i->second->modes[UM_INVISIBLE]))
|
|
||||||
{
|
|
||||||
/*
|
|
||||||
* user is +i, and source not on the channel, does not show
|
|
||||||
* nick in NAMES list
|
|
||||||
*/
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
size_t ptrlen = snprintf(ptr, MAXBUF, "%s%s ", c->GetPrefixChar(i->second), i->second->nick);
|
size_t ptrlen = snprintf(ptr, MAXBUF, "%s%s ", c->GetPrefixChar(i->second), i->second->nick);
|
||||||
|
|
||||||
curlen += ptrlen;
|
curlen += ptrlen;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user