diff MoinMoin/config/multiconfig.py @ 2160:7c8ee12f8c1d

Fix an error with missing bot_host attribute. Use more descriptive names.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Mon, 18 Jun 2007 15:14:39 +0200
parents cf4c4a3d6085
children 15c11fe8f6b2
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py	Mon Jun 18 03:31:47 2007 +0200
+++ b/MoinMoin/config/multiconfig.py	Mon Jun 18 15:14:39 2007 +0200
@@ -376,6 +376,7 @@
 
     navi_bar = [u'RecentChanges', u'FindPage', u'HelpContents', ]
     nonexist_qm = False
+    notification_bot_uri = None
 
     page_credits = [
         '<a href="http://moinmoin.wikiwikiweb.de/">MoinMoin Powered</a>',
@@ -662,12 +663,12 @@
         self.mail_enabled = (self.mail_smarthost is not None or self.mail_sendmail is not None) and self.mail_from
         
         # check if jabber bot is available and set flag:
-        self.jabber_enabled = self.bot_host is not None
+        self.jabber_enabled = self.notification_bot_uri is not None
         
         # if we are to use the jabber bot, instantiate a server object for future use
         if self.jabber_enabled:
             from xmlrpclib import Server
-            self.xmlrpc_server = Server("http://" + self.bot_host, )
+            self.notification_server = Server(self.notification_bot_uri, )
 
         # Cache variables for the properties below
         self._iwid = self._iwid_full = self._meta_dict = None