#1112 mod_pastebin does not work with trunk

Reporter porrier
Owner Zash
Stars ★★ (2)  
  • Status-Fixed
  • Milestone-0.11
  • Component-Community
  • Type-Defect
  • Priority-Medium
  1. porrier on

    What steps will reproduce the problem? 1. activated mod_pastebin in modules_enabled in a muc component 2. a room is created but one cannot write 3. disabled mod_pastebin and one can write in the room What is the expected output? the message one wrote What do you see instead? no input What version of the product are you using? On what operating system? Prosody version trunk nightly build 868 (2018-03-23, ee01578c67cb) on Linux Linux atlas.amimanera.de 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Please provide any additional information below. Mar 24 16:13:46 c2sf9b600 error Traceback[c2s]: ./plugins/mod_pastebin.lua:75: attempt to index upvalue 'muc_rooms' (a nil value) stack traceback: ./plugins/mod_pastebin.lua:75: in function '?' ./util/events.lua:79: in function <./util/events.lua:75> (tail call): ? ./core/stanza_router.lua:190: in function 'core_post_stanza' ./core/stanza_router.lua:137: in function 'core_process_stanza' ./plugins/mod_c2s.lua:263: in function 'func' ./util/async.lua:125: in function <./util/async.lua:123>

  2. MattJ on

    • tags Milestone-0.11
  3. Zash on

    • tags Status-Accepted
  4. Zash on

    • tags Component-Community
  5. Zash on

    • tags Status-Started
    • owner Zash
  6. Zash on

    Fixed in https://hg.prosody.im/prosody-modules/rev/60ca0d03f3e3

    • tags Status-Fixed

New comment

Not published. Used for spam prevention and optional update notifications.