send server version on request
authorThomasV <thomasv@gitorious>
Wed, 20 Jun 2012 13:06:25 +0000 (17:06 +0400)
committerThomasV <thomasv@gitorious>
Wed, 20 Jun 2012 13:06:25 +0000 (17:06 +0400)
backends/irc/__init__.py

index 9c8bfe2..8b35e2c 100644 (file)
@@ -130,7 +130,7 @@ class ServerProcessor(Processor):
             result = self.get_peers()
 
         elif method == 'server.version':
-            result = 'ok'
+            result = VERSION
 
         elif method == 'server.stop':
             self.shared.stop()