diff options
| author | ilotterytea <iltsu@alright.party> | 2024-05-01 00:50:24 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-05-01 00:50:24 +0500 |
| commit | 6251ffbc25e800fd427697bbf91f4f951b0638a2 (patch) | |
| tree | 6bc11d7c31c6617d5148089f2b7dc638ae7a5b45 /src | |
| parent | a6444310762fff7c58c0026720634cc295b4ed12 (diff) | |
fix: this bitch ass doesnt even help with errors
Diffstat (limited to 'src')
| -rw-r--r-- | src/irc/message.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/message.hpp b/src/irc/message.hpp index 5f090b7..164d7ca 100644 --- a/src/irc/message.hpp +++ b/src/irc/message.hpp @@ -102,7 +102,7 @@ namespace bot { std::getline(iss2, name, '/'); std::getline(iss2, value); - map.insert(name, value); + map.insert({name, std::stoi(value)}); } sender.badges = map; |
