- /* Protokoll- und Server-Identifikation erzeugen */
- sprintf( NGIRCd_ProtoID, "%s%s %s|%s:%s P", PROTOVER, PROTOSUFFIX, PACKAGE, VERSION, "" );
+ /* Protokoll- und Server-Identifikation erzeugen. Die vom ngIRCd
+ * beim PASS-Befehl verwendete Syntax sowie die erweiterten Flags
+ * sind in doc/Protocol.txt beschrieben. */
+ sprintf( NGIRCd_ProtoID, "%s%s %s|%s:", PROTOVER, PROTOSUFFIX, PACKAGE, VERSION );
+ if( Conf_OperCanMode ) strcat( NGIRCd_ProtoID, "o" );
+ strcat( NGIRCd_ProtoID, " P" );