maxmetagravity / prosody-modules

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

smacks does not load . module:shared() does not exist #64

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. load the smacks module
2. check error log

What is the expected output? What do you see instead?
smacks loaded without error

What version of the product are you using? On what operating system?
0.9 on debian

Please provide any additional information below.
this log output is generated:
Oct 28 11:40:02 modulemanager   error   Error initializing module 'smacks' on 
'jabber.XXXXX.XXXXXXX.XXX': /usr/lib/prosody/modules/mod_smacks.lua:26: attempt 
to call method 'shared' (a nil value)
stack traceback:
    /usr/lib/prosody/core/modulemanager.lua:35: in function 'shared'
    /usr/lib/prosody/modules/mod_smacks.lua:26: in main chunk
    (tail call): ?
    [C]: in function 'xpcall'
    /usr/lib/prosody/core/modulemanager.lua:35: in function 'pcall'
    /usr/lib/prosody/core/modulemanager.lua:129: in function 'load'
    /usr/lib/prosody/core/modulemanager.lua:88: in function '?'
    /usr/lib/prosody/util/events.lua:67: in function 'fire_event'
    /usr/lib/prosody/core/hostmanager.lua:84: in function 'activate'
    /usr/lib/prosody/core/hostmanager.lua:42: in function '?'
    /usr/lib/prosody/util/events.lua:67: in function 'fire_event'
    /usr/bin/prosody:374: in function 'prepare_to_start'
    /usr/bin/prosody:490: in main chunk
    [C]: ?

Original issue reported on code.google.com by cschulz...@googlemail.com on 28 Oct 2014 at 10:48

GoogleCodeExporter commented 9 years ago
this is smacks from todays hg clone...

Original comment by cschulz...@googlemail.com on 28 Oct 2014 at 10:50