aboutsummaryrefslogtreecommitdiff
path: root/db.h
diff options
context:
space:
mode:
Diffstat (limited to 'db.h')
-rw-r--r--db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.h b/db.h
index 9dc926c..8ca1227 100644
--- a/db.h
+++ b/db.h
@@ -42,7 +42,7 @@ char* db_get_pass(i64 userid);
bool db_delete_user(i64 userid);
i64 db_find_user(const char *name); // -1 if not found
-bool db_create_message(i64 roomid,i64 userid,i64 timestamp,const char *message);
+void db_create_message(i64 roomid,i64 userid,i64 timestamp,const char *message);
struct db_message_list db_get_messages(i64 roomid,i64 timestamp,i64 count); // pass timestamp==-1 for last messages
void db_nullify_name_id(struct db_name_id ni);