]> arthur.barton.de Git - ngircd.git/blobdiff - src/ngircd/parse.c
Only require server prefixes on non RFC1459 links
[ngircd.git] / src / ngircd / parse.c
index 8f5e6019694a53807d023b4df9010c281ad10d0b..d7dbffc28f951465bfc6f300173e390aa9c0b131 100644 (file)
@@ -280,6 +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
            && strcasecmp(Req->command, "ERROR") != 0
            && strcasecmp(Req->command, "PING") != 0)
        {