mirror of
https://gitlab.com/wirelos/sprocket-plugin-irc.git
synced 2025-12-14 21:42:21 +01:00
foo
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user