enum BlockAction { IBLOCK_KILL, IBLOCK_KILLOPERS, IBLOCK_NOTICE, IBLOCK_NOTICEOPERS, IBLOCK_SILENT };
enum BlockAction { IBLOCK_KILL, IBLOCK_KILLOPERS, IBLOCK_NOTICE, IBLOCK_NOTICEOPERS, IBLOCK_SILENT };
ForgetDelay = Conf->ReadInteger("blockamsg", "delay", 0, false);
if(Conf->GetError() == CONF_VALUE_NOT_FOUND)
ForgetDelay = Conf->ReadInteger("blockamsg", "delay", 0, false);
if(Conf->GetError() == CONF_VALUE_NOT_FOUND)
// OR
// The number of target channels is equal to the number of channels the sender is on..a little suspicious.
// Check it's more than 1 too, or else users on one channel would have fun.
// OR
// The number of target channels is equal to the number of channels the sender is on..a little suspicious.
// Check it's more than 1 too, or else users on one channel would have fun.
// If there's already a BlockedMessage allocated, use it.
m->message = parameters[1];
m->target = parameters[0];
// If there's already a BlockedMessage allocated, use it.
m->message = parameters[1];
m->target = parameters[0];