X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/bd03481bdee95ba12c67f72f9ae66a79bd6a8a6a..90a3c35b295b07ebe3793bf5d3b882c3c1a5dc7c:/src/hostmask.c?ds=sidebyside diff --git a/src/hostmask.c b/src/hostmask.c index b55cbeb..cbbb0e9 100644 --- a/src/hostmask.c +++ b/src/hostmask.c @@ -5,7 +5,7 @@ * Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center * Copyright (C) 1996-2002 Hybrid Development Team * Copyright (C) 2002-2005 ircd-ratbox development team - * Copyright (C) 2005-2006 charybdis development team + * Copyright (C) 2005-2008 charybdis development team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,6 @@ */ #include "stdinc.h" -#include "memory.h" #include "ircd_defs.h" #include "s_conf.h" #include "hostmask.h" @@ -579,7 +578,7 @@ delete_one_address_conf(const char *address, struct ConfItem *aconf) aconf->status |= CONF_ILLEGAL; if(!aconf->clients) free_conf(aconf); - MyFree(arec); + rb_free(arec); return; } arecl = arec; @@ -619,7 +618,7 @@ clear_out_address_conf(void) arec->aconf->status |= CONF_ILLEGAL; if(!arec->aconf->clients) free_conf(arec->aconf); - MyFree(arec); + rb_free(arec); } } *store_next = NULL; @@ -652,7 +651,7 @@ clear_out_address_conf_bans(void) arec->aconf->status |= CONF_ILLEGAL; if(!arec->aconf->clients) free_conf(arec->aconf); - MyFree(arec); + rb_free(arec); } } *store_next = NULL; @@ -692,8 +691,6 @@ show_iline_prefix(struct Client *sptr, struct ConfItem *aconf, char *name) *prefix_ptr++ = '^'; if(IsOper(sptr) && IsConfExemptLimits(aconf)) *prefix_ptr++ = '>'; - if(IsOper(sptr) && IsConfIdlelined(aconf)) - *prefix_ptr++ = '<'; *prefix_ptr = '\0'; strncpy(prefix_ptr, name, USERLEN); return (prefix_of_host);