Well, the natives seemed fairly friendly, so I decided to stay the night. I made a mental note never to seem fairly friendly to an explorer. If you do, he always decides to stay the night.
The quote humorously reflects the author's disdain for explorers who impose on the hospitality of others. It suggests that showing friendliness can lead to unwanted consequences, particularly in the context of an explorer deciding to extend their stay. The implication is that a casual expression of goodwill may invite more intrusion than intended.
Wodehouse uses this situation to poke fun at the interactions between strangers and the expectations that arise from them. The witticism underscores the tension between hospitality and the unwelcome burden it can sometimes bring, revealing a clever insight into human behavior and social dynamics.