projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Site config protocol and UI for XMPP port numbers
[citadel.git]
/
citadel
/
modules
/
upgrade
/
serv_upgrade.c
diff --git
a/citadel/modules/upgrade/serv_upgrade.c
b/citadel/modules/upgrade/serv_upgrade.c
index 7188365563bbdaa095180af15dff312ba519c90f..5d52b29d5afaca1ab9540a6a14a9c83d0e346a79 100644
(file)
--- a/
citadel/modules/upgrade/serv_upgrade.c
+++ b/
citadel/modules/upgrade/serv_upgrade.c
@@
-181,6
+181,11
@@
void update_config(void) {
config.c_auto_cull = 1;
}
+ if (CitControl.version < 725) {
+ config.c_xmpp_c2s_port = 5222;
+ config.c_xmpp_s2s_port = 5269;
+ }
+
put_config();
}