*/
#include "stdinc.h"
-#include "tools.h"
#include "channel.h"
#include "client.h"
#include "common.h"
#include "whowas.h"
#include "s_conf.h" /* ConfigFileEntry, ConfigChannel */
#include "s_newconf.h"
-#include "event.h"
-#include "memory.h"
-#include "balloc.h"
#include "s_log.h"
extern rb_dlink_list global_channel_list;
void
free_channel(struct Channel *chptr)
{
- MyFree(chptr->chname);
+ rb_free(chptr->chname);
BlockHeapFree(channel_heap, chptr);
}
void
free_ban(struct Ban *bptr)
{
- MyFree(bptr->banstr);
- MyFree(bptr->who);
+ rb_free(bptr->banstr);
+ rb_free(bptr->who);
BlockHeapFree(ban_heap, bptr);
}