| Filename | |
|---|---|
| centrixd/cxproto.py |
diff --git a/centrixd/cxproto.py b/centrixd/cxproto.py index 4103d45..6c80ffc 100644 --- a/centrixd/cxproto.py +++ b/centrixd/cxproto.py @@ -17,8 +17,7 @@ class CXProto(Protocol): def connectionMade(self): print "BLA" log("Client connected") - hello = CXMessage(); - hello.type = "Hello" + hello = CXMessage("Hello") hello.service = "Centrix" hello.software = "centrixd" self.transport.write(serialize(hello)+"\n")