Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mrDoctorWho/vk4xmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrDoctorWho <mrdoctorwho@gmail.com>2015-03-21 20:15:39 +0300
committermrDoctorWho <mrdoctorwho@gmail.com>2015-03-21 20:15:39 +0300
commitb7a74a5c7b74236c7f8e163db547724fafb74c3f (patch)
tree93bb7a77ae8f16484de2fe3ec0b9c874d34c6cb0
parente91d4b8df9820bd60b073f10b769bc8010bfa93a (diff)
Added default variables to the main config file
-rw-r--r--Config_example.txt2
-rw-r--r--extensions/groupchats.py2
-rw-r--r--gateway.py2
3 files changed, 4 insertions, 2 deletions
diff --git a/Config_example.txt b/Config_example.txt
index 1e76e08..dfd1d76 100644
--- a/Config_example.txt
+++ b/Config_example.txt
@@ -106,7 +106,7 @@ DEBUG_API = []
## VK4XMPP Monitor settings
-## The server where the requests will come from
+## The server where the stats requests will come from
VK4XMPP_MONITOR_SERVER = "anon.xmppserv.ru"
## The URL where transport should send POST requests with it's name
diff --git a/extensions/groupchats.py b/extensions/groupchats.py
index 146c3b1..b848d91 100644
--- a/extensions/groupchats.py
+++ b/extensions/groupchats.py
@@ -529,4 +529,4 @@ if isdef("ConferenceServer") and ConferenceServer:
else:
del sendIQ, makeMember, makeOutcast, inviteUser, joinChat, leaveChat, \
outgoingChatMessageHandler, chatMessage, Chat, \
- incomingChatMessageHandler, handleChatErrors, handleChatPresences, exterminateChats, initGroupchatsTable, cleanTheChatsUp, initChatExtension
+ incomingChatMessageHandler, handleChatErrors, handleChatPresences, exterminateChats, cleanTheChatsUp, initChatExtension
diff --git a/gateway.py b/gateway.py
index 94c0d22..741c906 100644
--- a/gateway.py
+++ b/gateway.py
@@ -106,6 +106,8 @@ evalJID = ""
AdditionalAbout = ""
ConferenceServer = ""
URL_ACCEPT_APP = "http://jabberon.ru/vk4xmpp.html#%d"
+VK4XMPP_MONITOR_SERVER = "anon.xmppserv.ru"
+VK4XMPP_MONITOR_URL = "http://xmppserv.ru/xmpp-monitor/hosts.php"
allowBePublic = True
startTime = int(time.time())