diff options
Diffstat (limited to 'bot/src/config.cpp')
| -rw-r--r-- | bot/src/config.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bot/src/config.cpp b/bot/src/config.cpp index a2cd2d6..fc6a5fe 100644 --- a/bot/src/config.cpp +++ b/bot/src/config.cpp @@ -122,6 +122,10 @@ namespace bot { for (const std::string &x : utils::string::split_text(value, ',')) { ttv_cfg.trusted_user_ids.push_back(std::stoi(x)); } + } else if (key == "twitch.superuser_ids") { + for (const std::string &x : utils::string::split_text(value, ',')) { + ttv_cfg.superuser_ids.push_back(std::stoi(x)); + } } else if (key == "db_name") { |
