Subversion Repositories IRCServ

Rev

Rev 9 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 nishi 1
/* $Id: chanserv.c 10 2024-08-26 13:37:23Z nishi $ */
2
 
3
#include "../is_chanserv.h"
4
 
5
#include "../is_util.h"
8 nishi 6
#include "../is_log.h"
10 nishi 7
#include "../is_db.h"
6 nishi 8
 
9
extern struct is_config config;
8 nishi 10
extern struct is_message message;
6 nishi 11
 
10 nishi 12
int is_chanserv_init(void) {
13
	is_run_sql("create table if not exists chanserv(user text, password text, name text, topic text)");
14
	is_run_sql("create table if not exists chanserv_users(user text, name text, level number)");
15
	return 0;
16
}