|
@@ -1313,6 +1313,7 @@ reset_chan_info(struct chanset_t *chan)
|
|
|
|
|
|
|
|
/* Don't reset the channel if we're already resetting it */
|
|
/* Don't reset the channel if we're already resetting it */
|
|
|
if (!shouldjoin(chan)) {
|
|
if (!shouldjoin(chan)) {
|
|
|
|
|
+ sdprintf("Resetting %s but I shouldn't be there, parting...", chan->dname);
|
|
|
dprintf(DP_MODE, "PART %s\n", chan->name);
|
|
dprintf(DP_MODE, "PART %s\n", chan->name);
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
@@ -1486,6 +1487,7 @@ static void
|
|
|
check_expired_chanstuff(struct chanset_t *chan)
|
|
check_expired_chanstuff(struct chanset_t *chan)
|
|
|
{
|
|
{
|
|
|
if ((channel_active(chan) || channel_pending(chan)) && !shouldjoin(chan)) {
|
|
if ((channel_active(chan) || channel_pending(chan)) && !shouldjoin(chan)) {
|
|
|
|
|
+ sdprintf("Active/Pending in %s but I shouldn't be there, parting...", chan->dname);
|
|
|
dprintf(DP_MODE, "PART %s\n", chan->name[0] ? chan->name : chan->dname);
|
|
dprintf(DP_MODE, "PART %s\n", chan->name[0] ? chan->name : chan->dname);
|
|
|
} else if (channel_active(chan)) {
|
|
} else if (channel_active(chan)) {
|
|
|
masklist *b = NULL, *e = NULL;
|
|
masklist *b = NULL, *e = NULL;
|