mirror of
https://github.com/evennia/evennia.git
synced 2026-03-24 08:46:31 +01:00
Adjusted typos and indentation.
This commit is contained in:
parent
b3140b6608
commit
44fdbc49cb
1 changed files with 8 additions and 4 deletions
|
|
@ -439,11 +439,15 @@ class CmdWhisper(COMMAND_DEFAULT_CLASS):
|
|||
caller.msg("Usage: whisper <player> = <message>")
|
||||
return
|
||||
|
||||
receiver = caller.search(self.lhs,
|
||||
nofound_string="'%s' cannot be found." % self.lhs)
|
||||
receiver = caller.search(self.lhs)
|
||||
|
||||
if not receiver:
|
||||
caller.msg("Usage: whisper <player> = <message>")
|
||||
return
|
||||
|
||||
if caller == receiver:
|
||||
caller.msg("You can't whisper yourself.")
|
||||
return
|
||||
caller.msg("You can't whisper to yourself.")
|
||||
return
|
||||
|
||||
speech = self.rhs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue