This commit is contained in:
2018-11-23 16:43:39 +01:00
parent 5706796da5
commit 7658458370

View File

@@ -55,7 +55,7 @@ void IrcPlugin::enableProcessTask(Scheduler *scheduler)
}
int IrcPlugin::checkConfig(){
int isValid = server.length() == 0 || port == 0 || nick.length() == 0 || user.length() == 0;
int isValid = server.length() != 0 || port != 0 || nick.length() != 0 || user.length() != 0;
publish("irc/configValid", String(isValid));
return isValid;
}