Merge branch 'master' of lain.church:emil/probotic

This commit is contained in:
Emil 2023-08-04 07:38:51 -06:00
commit 2a1128ef89
2 changed files with 2 additions and 2 deletions

View File

@ -11,4 +11,4 @@ probotic: $(SRC) $(HDR)
$(SRC) $(HDR):
run:
./probotic -server irc.rizon.net -port 6667 -username probotic -channel '#stop_shitting_up_chad'
./probotic -server irc.rizon.net -port 6664 -username probotic -channel '#/g/chad' -db bootstrap/probotic_data.sqlite

View File

@ -67,7 +67,7 @@ VARDECL sqlite3 * connection = NULL;
DECL int
api_init(void)
{
DBERR(sqlite3_open(db, &connection));
DBERR(sqlite3_open_v2(db, &connection, SQLITE_OPEN_READONLY, NULL));
// dont you fucking dare to remove this spacing
DBERR(stmt_prepare(remind_stmt));
DBERR(stmt_prepare(set_repo_stmt));