aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgil Moeller <egil.moller@freecode.no>2010-04-08 18:43:42 +0200
committerEgil Moeller <egil.moller@freecode.no>2010-04-08 18:43:42 +0200
commit51ce3c009aafede360887f317797b19444f7717f (patch)
treec7510affb0ebbcac42efba20ca0d4950667b3427
parentde8461e05948207352dd1bd53d82ff8ec9fc7658 (diff)
parent2379c600538c2a83046571acedc3fc8dedcd8a6e (diff)
downloadetherpad-51ce3c009aafede360887f317797b19444f7717f.tar.gz
etherpad-51ce3c009aafede360887f317797b19444f7717f.tar.xz
etherpad-51ce3c009aafede360887f317797b19444f7717f.zip
Merge branch 'jefferai' of git://github.com/jefferai/pad
-rw-r--r--etherpad/src/etherpad/pro/pro_utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/etherpad/src/etherpad/pro/pro_utils.js b/etherpad/src/etherpad/pro/pro_utils.js
index 2322262..1198b95 100644
--- a/etherpad/src/etherpad/pro/pro_utils.js
+++ b/etherpad/src/etherpad/pro/pro_utils.js
@@ -49,7 +49,7 @@ function getRequestSuperdomain() {
var parts = request.domain.split('.');
while (parts.length > 0) {
var domain = parts.join('.');
- if (domainEnabled[domain]) {
+ if (domainEnabled(domain)) {
return domain;
}
parts.shift();