Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CONTRIB: mail.py: check if ooc or puppeting before finding player object during get_all_mail #1289

Merged
merged 3 commits into from Mar 29, 2017

Conversation

eldritchsemblance
Copy link
Contributor

Brief overview of PR changes/additions

Checks to see if OOC or Puppeting during get_all_mail

Motivation for adding to Evennia

Trying to use the mail system fails when OOC

Other info (issues closed, discussion etc)

This fixes the test failure and the bug introduced in PR #1262

@eldritchsemblance eldritchsemblance changed the title check if ooc or puppeting before finding player object CONTRIB: mail.py: check if ooc or puppeting before finding player object during get_all_mail Mar 29, 2017
@vincent-lg
Copy link
Contributor

Changes seem fine to me, from what I could see. If nothing else the change of the default message was welcome. Checked for Python compliance.

Copy link
Contributor

@vincent-lg vincent-lg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to fix the bug.

@Griatch Griatch merged commit 6224f90 into evennia:master Mar 29, 2017
@eldritchsemblance eldritchsemblance deleted the contrib-mail-fix branch March 29, 2017 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants