#626 modulemanager: Unable to load module 'admin_message': ...mod_admin_message.lua:88: invalid escape sequence near '"

Reporter Dennis Schridde
Owner Zash
Created
Updated
Stars ★ (1)  
Tags
  • Priority-Medium
  • Type-Defect
  • Status-Fixed
  1. Dennis Schridde on

    Prosody logs: ``` modulemanager: Unable to load module 'admin_message': /usr/lib64/prosody/modules/mod_admin_message.lua:88: invalid escape sequence near '" ' ``` That line is: ```lua -- Strip trailing blank line session.fulltext = tostring(session.fulltext):gsub("\n\|%s*$", "") ```

  2. Dennis Schridde on

    I am using LuaJIT 2.0.4 with the currently latest version of prosody-modules (2c6bc38f19a6).

  3. Zash on

    Thanks for the report. Fixed in https://hg.prosody.im/prosody-modules/rev/9ed6d44b9fed

    Changes
    • tags Status-Fixed
    • owner Zash

New comment