unnecessary comparisons
This commit is contained in:
parent
436240f3e1
commit
4cacd25490
|
@ -120,8 +120,7 @@ join_allowed(CLIENT *Client, CHANNEL *chan, const char *channame,
|
|||
}
|
||||
|
||||
if (Channel_HasMode(chan, 'z') && !Conn_UsesSSL(Client_Conn(Client))
|
||||
&& strcmp(Client_IPAText(Client), "127.0.0.1") != 0 && strcmp(Client_IPAText(Client), "localhost") != 0
|
||||
&& strcmp(Client_IPAText(Client), "localhost.localdomain") != 0) {
|
||||
&& strcmp(Client_IPAText(Client), "127.0.0.1") != 0) {
|
||||
/* Only "secure" clients are allowed, but clients doesn't
|
||||
* use SSL encryption */
|
||||
IRC_WriteErrClient(Client, ERR_SECURECHANNEL_MSG,
|
||||
|
|
Loading…
Reference in New Issue