diff options
| author | ilotterytea <iltsu@alright.party> | 2025-07-03 18:05:11 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-07-03 18:05:47 +0500 |
| commit | e23ccfb00c8fa39926b32e94be6bc379e70ba11d (patch) | |
| tree | ad4758e8a1b947782186f11f1739dde1aca9ca23 /bot/src/irc/client.cpp | |
| parent | 1e8f182b083679b06d8e30fe52b1ed1130a19287 (diff) | |
feat: separated requester from request
Diffstat (limited to 'bot/src/irc/client.cpp')
| -rw-r--r-- | bot/src/irc/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/src/irc/client.cpp b/bot/src/irc/client.cpp index 06b7a03..4f8fe6c 100644 --- a/bot/src/irc/client.cpp +++ b/bot/src/irc/client.cpp @@ -50,7 +50,7 @@ void Client::run() { [this](const ix::WebSocketMessagePtr &msg) { switch (msg->type) { case ix::WebSocketMessageType::Message: { - log::debug("IRC", "Received message: " + msg->str); + log::info("IRC", "Received message: " + msg->str); std::vector<std::string> lines = utils::string::split_text(msg->str, '\n'); @@ -120,7 +120,7 @@ void Client::run() { void Client::say(const std::string &channel_login, const std::string &message) { this->raw("PRIVMSG #" + channel_login + " :" + message); - log::debug("IRC", "Sent '" + message + "' in #" + channel_login); + log::info("IRC", "Sent '" + message + "' in #" + channel_login); } bool Client::join(const std::string &channel_login) { |
