<?php
if(!function_exists(\'fnmatch\')) {
function fnmatch($pattern, $string) {
return preg_match(\"#^\".strtr(preg_quote($pattern, \'#\'), array(\'\\' => \'.\', \'\?\' => \'.\')).\"$#i\", $string);
}// end
}// end if
?>
this is the function i have to override the fnmatch. however all it does is have phpbot join the channel.