X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fparse.c;fp=src%2Fngircd%2Fparse.c;h=c2603918ff430643d045d8e5d95bdfcca43eec8f;hp=d7dbffc28f951465bfc6f300173e390aa9c0b131;hb=05748aa5eeaf75438a0bb238967667605fe4d52e;hpb=0bb892bb5fe1f0d9d783808d211c039e11e12f3b diff --git a/src/ngircd/parse.c b/src/ngircd/parse.c index d7dbffc2..c2603918 100644 --- a/src/ngircd/parse.c +++ b/src/ngircd/parse.c @@ -280,7 +280,7 @@ Validate_Prefix( CONN_ID Idx, REQUEST *Req, bool *Closed ) assert( client != NULL ); if (!Req->prefix && Client_Type(client) == CLIENT_SERVER - && !Conn_Options(Idx) & CONN_RFC1459 + && !(Conn_Options(Idx) & CONN_RFC1459) && strcasecmp(Req->command, "ERROR") != 0 && strcasecmp(Req->command, "PING") != 0) {