diff --git a/contrib/README b/contrib/README index 62426ecba..57bed4319 100644 --- a/contrib/README +++ b/contrib/README @@ -8,6 +8,9 @@ too game-specific to be a part of the main Evennia game server. These modules are not used unless you explicitly import them. See each file for more detailed instructions on how to install. +Modules in this folder is distributed under the same licence as +Evennia unless noted differently in the individual module. + If you want to edit, tweak or expand on this code you should copy the things you want from here into game/gamesrc and change them there. @@ -20,7 +23,7 @@ things you want from here into game/gamesrc and change them there. to the user for accepting an action. Includes a simple new command 'menu' for testing and debugging. -* Evennia Lineeditor (Griatch 2011) - A powerful line-by-line editor +* Evennia Line editor (Griatch 2011) - A powerful line-by-line editor for editing text in-game. Mimics the command names of the famous VI text editor. Supports undo/redo, search/replace, regex-searches, buffer formatting, indenting etc. It comes with diff --git a/src/server/serversession.py b/src/server/serversession.py index 95b0b3f76..8305e407c 100644 --- a/src/server/serversession.py +++ b/src/server/serversession.py @@ -139,9 +139,9 @@ class ServerSession(Session): uaccount.last_login = datetime.now() uaccount.save() self.logged_in = False + if not self.sessionhandler.sessions_from_player(player): + player.is_connected = False self.sessionhandler.disconnect(self) - if not self.sessionhandler.sessions_from_player(player): - player.is_connected = False def get_player(self): """