maxmetagravity / prosody-modules

Automatically exported from code.google.com/p/prosody-modules
MIT License
0 stars 0 forks source link

Mod smacks complains about name: nil value #77

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Enable mod_smacks
2.watch at prosody logs

What is the expected output? What do you see instead?
It souldn't produce errors, but:

May 14 12:37:59 c2s9166550      error   Traceback[c2s]: 
...r/lib/prosody/more-modules/mod_smacks/mod_smacks.lua:73: attempt to index 
field 'name' (a nil value)
stack traceback:
        ...r/lib/prosody/more-modules/mod_smacks/mod_smacks.lua:73: in function '?'
        /usr/lib/prosody/util/filters.lua:24: in function 'filter'
        /usr/lib/prosody/core/sessionmanager.lua:35: in function 'send'
        /usr/lib/prosody/modules/mod_message.lua:40: in function </usr/lib/prosody/modules/mod_message.lua:18>
        (tail call): ?
        /usr/lib/prosody/util/events.lua:73: in function </usr/lib/prosody/util/events.lua:69>
        (tail call): ?
        /usr/lib/prosody/core/stanza_router.lua:187: in function 'core_post_stanza'
        /usr/lib/prosody/core/stanza_router.lua:135: in function 'core_process_stanza'
        /usr/lib/prosody/modules/mod_c2s.lua:239: in function 'func'
        /usr/lib/prosody/util/async.lua:88: in function </usr/lib/prosody/util/async.lua:86>

What version of the product are you using? On what operating system?
Last révision, just updated from hg

Thanks !

Original issue reported on code.google.com by quen...@open-to-repair.fr on 14 May 2015 at 10:40