diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 700c01d..a582df4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -13,6 +13,7 @@ #include "irc/message.hpp" #include "localization/localization.hpp" #include "stream.hpp" +#include "timer.hpp" int main(int argc, char *argv[]) { std::cout << "hi world\n"; @@ -110,6 +111,10 @@ int main(int argc, char *argv[]) { }); client.run(); + + std::thread timer_thread(bot::create_timer_thread, &client, &cfg); + timer_thread.join(); + stream_listener_client.run_thread(); return 0; |
