postman let the hub crash

Bug #596985 reported by ToniMontana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ADCH++-PtokaX
Fix Released
Undecided
Unassigned

Bug Description

After i have properly tested the Mailbox modul from DiXBoT
and noticed that it works, i thought i test the postman script
which basicaly do the same as the Mailbox modul
but the postman script let the hub crash/not start at all.

PostMan 0.9 beta2
http://board.ptokax.ch/index.php/topic,7889.msg73849.html#msg73849

Revision history for this message
poy (poy) wrote :

fixed in rev 68.

Changed in adchpp-ptokax:
status: New → Fix Released
Revision history for this message
ToniMontana (nformatoni) wrote :

things that work:
- Script get loaded
- Bot gets registered
- RCMenu is available
- using !inbox command
- when trying to send an offline message to a user who never was online on the hub, then the user
gets the message that this user never was online
- when trying to send an offline message to a user who is online then the user gets the message
that its easier to send a pm cause the user is online

thing that dont work:
- sending a message to an offline user
when i try to send a message to a user who was on the hub but is now offline,
then i get this error message:
2, 4: C:/adchpp353/Scripts/scripts/postman.lua:147: attempt to call field 'enc'
(a nil value)
stack traceback:
        C:/adchpp353/Scripts/postman.lua:147: in function 'checknsend'
        C:/adchpp353/Scripts/postman.lua:133: in function '?'
        C:/adchpp353/Scripts/postman.lua:299: in function <C:/adchpp353/Scripts/postman.lua:284>
        (tail call): ?
        adchpp-ptokax.lua:1875: in function <adchpp-ptokax.lua:1871>
        (tail call): ?
        adchpp-ptokax.lua:2296: in function <adchpp-ptokax.lua:2160>

Revision history for this message
poy (poy) wrote :

should be fixed in rev 69.

Revision history for this message
ToniMontana (nformatoni) wrote :

Thx for the fix.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.