Limit where were respond to test messages
This commit is contained in:
@@ -451,7 +451,7 @@ class Message extends FTNBase
|
||||
$return .= $this->subject."\00";
|
||||
|
||||
if (! $this->isNetmail())
|
||||
$return .= sprintf("AREA:%s\r",$this->echoarea);
|
||||
$return .= sprintf("AREA:%s\r",strtoupper($this->echoarea));
|
||||
|
||||
// If the message is local, then our kludges are not in the msg itself, we'll add them
|
||||
if ($this->isFlagSet(self::FLAG_LOCAL)) {
|
||||
@@ -573,7 +573,7 @@ class Message extends FTNBase
|
||||
|
||||
// Check if this is an Echomail
|
||||
if (! strncmp(substr($msg,self::HEADER_LEN+$ptr),'AREA:',5)) {
|
||||
$o->echoarea = substr($msg,self::HEADER_LEN+$ptr+5,strpos($msg,"\r",self::HEADER_LEN+$ptr+5)-(self::HEADER_LEN+$ptr+5));
|
||||
$o->echoarea = strtoupper(substr($msg,self::HEADER_LEN+$ptr+5,strpos($msg,"\r",self::HEADER_LEN+$ptr+5)-(self::HEADER_LEN+$ptr+5)));
|
||||
$ptr += strlen($o->echoarea)+5+1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user