OptionsItem->scanlog = NULL;
}
-/* Rehash or load new configuration from filename, via flex/bison parser */
+/* Load configuration from filename, via flex/bison parser */
void
config_load(const char *filename)
{
log_printf("IRC REGEX -> Parsed %s!%s@%s [%s] from connection notice.",
user[0], user[1], user[2], user[3]);
- /*FIXME (reminder) In the case of any rehash to the regex, preg MUST be freed first.
- regfree(preg);
- */
-
LIST_FOREACH(node, IRCItem->notices->head)
irc_send("NOTICE %s :%s", user[0], node->data);
ret->tab = tab;
ret->irc_nick = xstrdup(irc_nick);
- ret->target = target; /* FIXME: This needs fixed if rehash is implemented */
+ ret->target = target;
time(&ret->added);
struct ProtocolConf *pc;
struct scanner_struct *scs;
- /* FIXME: If rehash code is ever added, cleanup would need done here. */
-
SCANNERS = list_create();
MASKS = list_create();
return;
}
- /* IP = the resolved IP now (it was the ip OR hostname before) */
+ /* IP = the resolved IP now (it was the IP or hostname before) */
if ((ip = inet_ntop(AF_INET, addr, buf, sizeof(buf))) == NULL)
{
irc_send("PRIVMSG %s :CHECK -> invalid address: %s",