1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-20 13:16:36 +02:00

add prompt logging support

This commit is contained in:
Jfreegman
2014-03-01 18:06:35 -05:00
parent 7109b8fa18
commit 7f38c3c6e7
7 changed files with 68 additions and 27 deletions

View File

@ -1,4 +1,4 @@
/* log->c
/* log.c
*
*
* Copyright (C) 2014 Toxic All Rights Reserved.
@ -121,7 +121,7 @@ void add_to_log_buf(uint8_t *msg, uint8_t *name, struct chatlog *log, bool event
write_to_log(log);
}
void log_enable(struct chatlog *log, uint8_t *name, uint8_t *key)
void log_enable(uint8_t *name, uint8_t *key, struct chatlog *log)
{
log->log_on = true;