Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 27 lines (19 sloc) 0.614 kb
fde8391 @twonds bump up the year
authored
1 # Copyright (c) 2005 - 2008 Christopher Zorn, OGG, LLC
ade1d7b @twonds just importing the move from online game group
authored
2 # See LICENSE.txt for details
3
4 from twisted.internet import defer, reactor
5 from twisted.python import log
6 from twisted.words.protocols.jabber import jid
7 from zope.interface import implements
8
9
10 def StorageError(Error):
11 pass
12
13 # maybe move groupchat
14 import groupchat
15 import storage
16 import dir_storage
17
18 class Storage(dir_storage.Storage):
19
20 def __init__(self, spool):
21 self.spool_dir = spool
22 self.rooms = spool + '/rooms.xml'
23 self.spool = {}
24 if not self.spool.has_key('rooms'):
25 self.spool['rooms'] = {}
26
Something went wrong with that request. Please try again.