Rev 9 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
/* $Id: chanserv.c 10 2024-08-26 13:37:23Z nishi $ */
#include "../is_chanserv.h"
#include "../is_util.h"
#include "../is_log.h"
#include "../is_db.h"
extern struct is_config config;
extern struct is_message message;
int is_chanserv_init(void) {
is_run_sql("create table if not exists chanserv(user text, password text, name text, topic text)");
is_run_sql("create table if not exists chanserv_users(user text, name text, level number)");
return 0;
}