diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,6 +20,7 @@ int main(int argc, char **argv) { /* Regex sets must be initialized before config. */ rs_init(); channel_init(); + nick_init(); if(!cfg_init()) { /* Free any registered regex sets and channels when config fails. Config will fail if a regex set fails to compile all parts. */ @@ -27,7 +28,6 @@ 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++) { |