summaryrefslogtreecommitdiff
path: root/bot
diff options
context:
space:
mode:
Diffstat (limited to 'bot')
-rw-r--r--bot/src/commands/lua.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/src/commands/lua.cpp b/bot/src/commands/lua.cpp
index aa32b04..396a5a2 100644
--- a/bot/src/commands/lua.cpp
+++ b/bot/src/commands/lua.cpp
@@ -665,8 +665,8 @@ namespace bot::command::lua {
}
} else if (name == "ids") {
for (auto &[_, x] : t) {
- if (x.is<std::string>()) {
- ids.push_back(x.as<int>());
+ if (x.is<long long>()) {
+ ids.push_back(x.as<long long>());
}
}
} else {