#include <string.h>
#include <ctype.h>
-#include "../lib/sstring.h"
-#include "../lib/irc_string.h"
-#include "../channel/channel.h"
-#include "../localuser/localuserchannel.h"
-#include "../core/schedule.h"
-#include "../nick/nick.h"
-
-
#include "hchannel.h"
#include "haccount.h"
#include "helpmod.h"
while (hchan->htickets)
hticket_del(hchan->htickets, hchan);
- localpartchannel(helpmodnick, hchan->real_channel);
+ localpartchannel(helpmodnick, hchan->real_channel, "Channel Removed");
free(hchan);
/*if (on_queue(husr, huserchan) || on_desk(husr, huserchan))*/
if (huserchan != NULL)
{
- hchannel_user *tmp, **hchanuser = &hchan->channel_users;
+ hchannel_user *tmp = NULL, **hchanuser = &hchan->channel_users;
for (;*hchanuser;hchanuser = &(*hchanuser)->next)
if ((*hchanuser)->husr == husr)
{