"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/m_unresv.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_unresv.c  (ircd-hybrid-8.2.27.tgz):m_unresv.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_unresv.c /*! \file m_unresv.c
* \brief Includes required functions for processing the UNRESV command. * \brief Includes required functions for processing the UNRESV command.
* \version $Id: m_unresv.c 9102 2020-01-01 09:58:57Z michael $ * \version $Id: m_unresv.c 9199 2020-01-23 17:49:06Z michael $
*/ */
#include "stdinc.h" #include "stdinc.h"
#include "list.h" #include "list.h"
#include "client.h" #include "client.h"
#include "irc_string.h" #include "irc_string.h"
#include "ircd.h" #include "ircd.h"
#include "conf.h" #include "conf.h"
#include "conf_cluster.h" #include "conf_cluster.h"
#include "conf_resv.h" #include "conf_resv.h"
skipping to change at line 47 skipping to change at line 47
#include "log.h" #include "log.h"
#include "send.h" #include "send.h"
#include "server_capab.h" #include "server_capab.h"
#include "parse.h" #include "parse.h"
#include "modules.h" #include "modules.h"
#include "memory.h" #include "memory.h"
static void static void
resv_remove(struct Client *source_p, const struct aline_ctx *aline) resv_remove(struct Client *source_p, const struct aline_ctx *aline)
{ {
struct ResvItem *resv; struct ResvItem *resv = resv_find(aline->mask, irccmp);
if ((resv = resv_find(aline->mask, irccmp)) == NULL) if (resv == NULL)
{ {
if (IsClient(source_p)) if (IsClient(source_p))
sendto_one_notice(source_p, &me, ":No RESV for %s", aline->mask); sendto_one_notice(source_p, &me, ":No RESV for %s", aline->mask);
return; return;
} }
if (resv->in_database == false) if (resv->in_database == false)
{ {
if (IsClient(source_p)) if (IsClient(source_p))
skipping to change at line 183 skipping to change at line 183
} }
static void static void
module_exit(void) module_exit(void)
{ {
mod_del_cmd(&unresv_msgtab); mod_del_cmd(&unresv_msgtab);
} }
struct module module_entry = struct module module_entry =
{ {
.version = "$Revision: 9102 $", .version = "$Revision: 9199 $",
.modinit = module_init, .modinit = module_init,
.modexit = module_exit, .modexit = module_exit,
}; };
 End of changes. 4 change blocks. 
4 lines changed or deleted 4 lines changed or added

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