"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/m_who.c" between
ircd-hybrid-8.2.27.tgz and ircd-hybrid-8.2.28.tgz

About: IRCD-Hybrid is a Internet Relay Chat server.

m_who.c  (ircd-hybrid-8.2.27.tgz):m_who.c  (ircd-hybrid-8.2.28.tgz)
skipping to change at line 24 skipping to change at line 24
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA * USA
*/ */
/*! \file m_who.c /*! \file m_who.c
* \brief Includes required functions for processing the WHO command. * \brief Includes required functions for processing the WHO command.
* \version $Id: m_who.c 9102 2020-01-01 09:58:57Z michael $ * \version $Id: m_who.c 9203 2020-01-25 14:00:59Z michael $
*/ */
#include "stdinc.h" #include "stdinc.h"
#include "list.h" #include "list.h"
#include "client.h" #include "client.h"
#include "channel.h" #include "channel.h"
#include "channel_mode.h" #include "channel_mode.h"
#include "hash.h" #include "hash.h"
#include "ircd.h" #include "ircd.h"
#include "numeric.h" #include "numeric.h"
skipping to change at line 108 skipping to change at line 108
if (match(mask, target_p->username) == 0) if (match(mask, target_p->username) == 0)
return true; return true;
if (match(mask, target_p->host) == 0) if (match(mask, target_p->host) == 0)
return true; return true;
if (match(mask, target_p->info) == 0) if (match(mask, target_p->info) == 0)
return true; return true;
if (HasUMode(source_p, UMODE_OPER)) if (HasUMode(source_p, UMODE_OPER))
{
if (match(mask, target_p->sockhost) == 0) if (match(mask, target_p->sockhost) == 0)
return true; return true;
if (match(mask, target_p->realhost) == 0)
return true;
}
if (HasUMode(source_p, UMODE_OPER) || if (HasUMode(source_p, UMODE_OPER) ||
(ConfigServerHide.hide_servers == 0 && !IsHidden(target_p->servptr))) (ConfigServerHide.hide_servers == 0 && !IsHidden(target_p->servptr)))
if (match(mask, target_p->servptr->name) == 0) if (match(mask, target_p->servptr->name) == 0)
return true; return true;
return false; return false;
} }
/* who_common_channel /* who_common_channel
skipping to change at line 384 skipping to change at line 388
} }
static void static void
module_exit(void) module_exit(void)
{ {
mod_del_cmd(&who_msgtab); mod_del_cmd(&who_msgtab);
} }
struct module module_entry = struct module module_entry =
{ {
.version = "$Revision: 9102 $", .version = "$Revision: 9203 $",
.modinit = module_init, .modinit = module_init,
.modexit = module_exit, .modexit = module_exit,
}; };
 End of changes. 4 change blocks. 
2 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)