mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Remove some unused variables from mail contrib.
This commit is contained in:
parent
cbbca99ef8
commit
5e8c5109dd
1 changed files with 2 additions and 3 deletions
|
|
@ -9,8 +9,8 @@ Installation:
|
|||
import MailCommand from this module into the default Player or Character command set
|
||||
"""
|
||||
|
||||
from evennia import default_cmds, search_object
|
||||
from evennia.utils import create, utils, evtable, evform
|
||||
from evennia import default_cmds
|
||||
from evennia.utils import create, evtable
|
||||
from evennia.comms.models import Msg
|
||||
|
||||
|
||||
|
|
@ -209,7 +209,6 @@ class CmdMail(default_cmds.MuxCommand):
|
|||
if self.caller.player.search(char) is not None:
|
||||
recobjs.append(self.caller.player.search(char))
|
||||
if recobjs:
|
||||
lock_string = ""
|
||||
for recipient in recobjs:
|
||||
recipient.msg("You have received a new @mail from %s" % caller)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue