diff options
author | Badlop <badlop@process-one.net> | 2009-12-04 16:08:31 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-12-04 16:08:31 +0000 |
commit | 5a006b977dd948db73ae68c52673e277ba2c7905 (patch) | |
tree | dc0ff3b68261891b8586834d8368bda742185645 /src/mod_pubsub/pubsub_odbc.patch | |
parent | Explain limitation in the mod_pubsub_odbc host option. (diff) |
Small relax the limitation in the mod_pubsub_odbc host option.
SVN Revision: 2781
Diffstat (limited to 'src/mod_pubsub/pubsub_odbc.patch')
-rw-r--r-- | src/mod_pubsub/pubsub_odbc.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub/pubsub_odbc.patch b/src/mod_pubsub/pubsub_odbc.patch index 9bd66e4f2..5d73dd1ba 100644 --- a/src/mod_pubsub/pubsub_odbc.patch +++ b/src/mod_pubsub/pubsub_odbc.patch @@ -760,7 +760,7 @@ +odbc_conn({_U, Host, _R})-> + Host; +odbc_conn(Host) -> -+ Host--"pubsub.". %% TODO, improve that for custom host ++ lists:dropwhile(fun(A) -> A/=$. end, Host) -- ".". + +%% escape value for database storage +escape({_U, _H, _R}=JID)-> |