basic refactor

This commit is contained in:
Lukas-Heiligenbrunner 2020-02-11 17:22:14 +01:00
parent 4bb1fd148a
commit 54a0ea9f98

View File

@ -20,7 +20,7 @@ int main(int argc, char *argv[]) {
IPRefresher ipr;
ipr.checkIPAdress(true);
} else if (firstarg == "-l" || firstarg == "--loop") {
IPRefresher ipr(true);
IPRefresher(true);
} else {
Logger::message("wrong arguments! -h for help");
}