Remove some unused variables from mail contrib.

This commit is contained in:
Griatch 2017-01-10 17:44:03 +01:00
parent cbbca99ef8
commit 5e8c5109dd

View file

@ -9,8 +9,8 @@ Installation:
import MailCommand from this module into the default Player or Character command set import MailCommand from this module into the default Player or Character command set
""" """
from evennia import default_cmds, search_object from evennia import default_cmds
from evennia.utils import create, utils, evtable, evform from evennia.utils import create, evtable
from evennia.comms.models import Msg from evennia.comms.models import Msg
@ -209,7 +209,6 @@ class CmdMail(default_cmds.MuxCommand):
if self.caller.player.search(char) is not None: if self.caller.player.search(char) is not None:
recobjs.append(self.caller.player.search(char)) recobjs.append(self.caller.player.search(char))
if recobjs: if recobjs:
lock_string = ""
for recipient in recobjs: for recipient in recobjs:
recipient.msg("You have received a new @mail from %s" % caller) recipient.msg("You have received a new @mail from %s" % caller)