summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 1ccca8a..69435ac 100644
--- a/main.c
+++ b/main.c
@@ -9,6 +9,7 @@
#include "user.h"
#include "word.h"
#include "export_xml.h"
+#include "nick.h"
#define NICK_BUFFER_SIZE 0x100
#define TEXT_BUFFER_SIZE 0x400
@@ -26,6 +27,7 @@ int main(int argc, char **argv) {
channel_free();
return 1;
}
+ nick_init();
/* Parsing stuff goes here. */
for(int chan_i = 0; chan_i < channel_get_count(); chan_i++) {
@@ -115,6 +117,7 @@ int main(int argc, char **argv) {
word_free();
}
+ nick_free();
cfg_free();
channel_free();
rs_free();