diff options
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 64f073386..09e7dc183 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 */ - bool has_user = (u && chan->HasUser(u)); + bool has_user = (chan && chan->HasUser(u)); if ((chan) && (((!(chan->binarymodes & CM_PRIVATE)) && (!(chan->binarymodes & CM_SECRET))) || (has_user))) { /* Increment total plus linefeed */ diff --git a/src/svn-rev.sh b/src/svn-rev.sh index fb80af124..bfd47b72b 100755 --- a/src/svn-rev.sh +++ b/src/svn-rev.sh @@ -1 +1 @@ -echo 3563 +echo 3566 |