Chevy Chase tells TMZ ... cussing out "Community" creator Dan Harmon over voice mail was "the right thing to do ... at the time."
Chase was leaving the Chateau Marmont in Hollywood last night ... when we asked about the feud with his TV boss.
When we mentioned Dan's name, Chevy quipped, "Who's that?" He later added, "I don't know who you're talking about ... I really don't."
Eventually, Chase did address the voice mail attack ... telling us, "I think that was the WRONG thing to say at the time ... NO, it was the RIGHT thing to say ... at the time."
Chase later said the situation had "been handled" ... adding, "I don't have anything to say about this stuff ... we got comedy to make."
Possibly a hint that he'll stay with the show another season?