diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-01 09:25:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-01 09:25:51 +0000 |
commit | 40001933e661c22e88260ff6a68b2d9e877153f6 (patch) | |
tree | 2920a3b377d42d628cbf8c744ef589b30fc7a647 /src | |
parent | 9d2bcbdfd90733ab3faf3b31f051bdd4fd9bcd82 (diff) |
Added checking for +sp channels to safelist that someone left out *nonchalant whistle*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3392 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_safelist.cpp | 2 | ||||
-rwxr-xr-x | src/svn-rev.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp index 1125380ab..4ba041c08 100644 --- a/src/modules/m_safelist.cpp +++ b/src/modules/m_safelist.cpp @@ -97,7 +97,7 @@ class ListTimer : public InspTimer WriteServ(u->fd,"321 %s Channel :Users Name",u->nick); chan = Srv->GetChannelIndex(ld->list_position); /* spool details */ - if (chan) + if ((chan) && (((!(chan->binarymodes & CM_PRIVATE)) && (!(chan->binarymodes & CM_SECRET))) || (has_channel(u,chan)))) { /* Increment total plus linefeed */ int counter = snprintf(buffer,MAXBUF,"322 %s %s %d :[+%s] %s",u->nick,chan->name,usercount_i(chan),chanmodes(chan,has_channel(u,chan)),chan->topic); diff --git a/src/svn-rev.sh b/src/svn-rev.sh index 80128dd71..041e0a726 100755 --- a/src/svn-rev.sh +++ b/src/svn-rev.sh @@ -1 +1 @@ -echo 3389 +echo 3391 |