commit c26ca7773bfc92ca41344a0994bee45ec917b261 from: Alexander Barton date: Fri Apr 29 10:33:58 2011 UTC Only require server prefixes on non RFC1459 links Not all servers (and services!) using the RFC1459 protocol style send prefixes on all commands; so don't require them to do so. This relaxes the requirements introduced by commit 15775e679. commit - 1cb2f5739d867502c45cad1c8edfa4c5dcd47933 commit + c26ca7773bfc92ca41344a0994bee45ec917b261 blob - 8f5e6019694a53807d023b4df9010c281ad10d0b blob + d7dbffc28f951465bfc6f300173e390aa9c0b131 --- src/ngircd/parse.c +++ src/ngircd/parse.c @@ -280,6 +280,7 @@ Validate_Prefix( CONN_ID Idx, REQUEST *Req, bool *Clos assert( client != NULL ); if (!Req->prefix && Client_Type(client) == CLIENT_SERVER + && !Conn_Options(Idx) & CONN_RFC1459 && strcasecmp(Req->command, "ERROR") != 0 && strcasecmp(Req->command, "PING") != 0) {