X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Flistensocket.cpp;h=60ee0b449c0d24ef3c1b1452a78f7c23009aa3e3;hb=654355c2d114a68639ac36238291ebfceec2537d;hp=5ecaab460c4850949e689bff6b5baa77afedfee5;hpb=b7716ed57704b2b2bcc665a590aecc8f02de631d;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/listensocket.cpp b/src/listensocket.cpp index 5ecaab460..60ee0b449 100644 --- a/src/listensocket.cpp +++ b/src/listensocket.cpp @@ -183,7 +183,7 @@ void ListenSocket::OnEventHandlerRead() if (res == MOD_RES_PASSTHRU) { std::string type = bind_tag->getString("type", "clients"); - if (type == "clients") + if (stdalgo::string::equalsci(type, "clients")) { ServerInstance->Users->AddUser(incomingSockfd, this, &client, &server); res = MOD_RES_ALLOW;