mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-01-20 04:35:05 +00:00
20 lines
563 B
C#
Executable file
20 lines
563 B
C#
Executable file
// #autoload
|
|
// #name = UEfix
|
|
// #version = 1.0
|
|
// #date = December 27, 2003
|
|
// #category = Fix
|
|
// #author = Lou Cypher
|
|
// #warrior = LouCypher
|
|
// #email = asta_llama_lincoln@hotmail.com
|
|
// #web = http://deadzone.cjb.net
|
|
// #description = Prevents clients from being vulnerable to crashing via NULL voice exploit
|
|
|
|
package UEfix {
|
|
function alxGetWaveLen(%wavFile) {
|
|
if ( strstr( %wavFile , ".wav" ) == -1 ) return $MaxMessageWavLength + 1;
|
|
echo("Length check: " @ %wavFile);
|
|
parent::alxGetWaveLen(%wavFile);
|
|
}
|
|
};
|
|
activatePackage(UEfix);
|