~divmod-dev/divmod.org/empty-host-header-2936

« back to all changes in this revision

Viewing changes to Imaginary/imaginary/action.py

  • Committer: exarkun
  • Date: 2009-06-26 20:38:23 UTC
  • Revision ID: svn-v4:866e43f7-fbfc-0310-8f2a-ec88d1da2979:trunk:17551
Merge imaginary-integration-897-2

Author: exarkun
Reviewer: glyph
Fixes: #897

Remove Imaginary's SSH and telnet servers and change it to use Mantissa's
SSH server.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
from axiom.attributes import AND
14
14
 
15
15
import imaginary.plugins
16
 
from imaginary.wiring import realm
17
16
from imaginary import (iimaginary, eimaginary, iterutils, events,
18
17
                       objects, text as T, language, pyparsing)
19
 
 
 
18
from imaginary.world import ImaginaryWorld
20
19
 
21
20
## Hacks because pyparsing doesn't have fantastic unicode support
22
21
_quoteRemovingQuotedString = pyparsing.quotedString.copy()
957
956
    expr = pyparsing.Literal("who")
958
957
 
959
958
    def do(self, player, line):
960
 
        player.send(ExpressWho(player.store.findUnique(realm.ImaginaryRealm)))
 
959
        player.send(ExpressWho(player.store.findUnique(ImaginaryWorld)))
961
960
 
962
961
 
963
962