Mercurial > prosody-modules
comparison mod_bookmarks2/mod_bookmarks2.lua @ 4890:347894e08b4f
mod_bookmarks2: Remove conflict check with mod_bookmarks
Should no longer be needed and causes trouble when mod_bookmarks
(community) redirects to mod_bookmarks2
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 09 Feb 2022 18:10:27 +0100 |
| parents | a1181413a0eb |
| children | a8e9949a6ad2 |
comparison
equal
deleted
inserted
replaced
| 4889:52522c71ad1a | 4890:347894e08b4f |
|---|---|
| 1 local mm = require "core.modulemanager"; | |
| 2 if mm.get_modules_for_host(module.host):contains("bookmarks") then | |
| 3 error("mod_bookmarks2 and mod_bookmarks are conflicting, please disable one of them.", 0); | |
| 4 end | |
| 5 | 1 |
| 6 local st = require "util.stanza"; | 2 local st = require "util.stanza"; |
| 7 local jid_split = require "util.jid".split; | 3 local jid_split = require "util.jid".split; |
| 8 | 4 |
| 9 local mod_pep = module:depends "pep"; | 5 local mod_pep = module:depends "pep"; |
