This commit is contained in:
2018-11-23 15:34:21 +01:00
parent 3816157dbb
commit 42f41aefa0

View File

@@ -63,7 +63,7 @@ void IrcPlugin::connect()
{ {
if (!client->connected()) if (!client->connected())
{ {
PRINT_MSG(Serial, "IRC", String("Attempting connection to " + server).c_str()); PRINT_MSG(Serial, "IRC", String("Attempting connection to " + server + ":" + String(port)).c_str());
PRINT_MSG(Serial, "IRC", String("NICK " + nick).c_str()); PRINT_MSG(Serial, "IRC", String("NICK " + nick).c_str());
PRINT_MSG(Serial, "IRC", String("USER " + user).c_str()); PRINT_MSG(Serial, "IRC", String("USER " + user).c_str());
if (client->connect(nick.c_str(), user.c_str())) if (client->connect(nick.c_str(), user.c_str()))