Unable to record private channel chat #27


  • New
  • Defect
Open
Assigned to allinonemighty
  • _ForgeUser287822 created this issue Oct 17, 2014

    The addon no longer recognize custom channel, and I got a warning every time when I receive a private channel message

    48x Elephant\Event.lua:51: attempt to index field '?' (a nil value)
    Elephant\Event.lua:51: in function <Elephant\Event.lua:25>
    ...ventory\Libs\CallbackHandler\CallbackHandler-1.0-6.lua:156: in function <...ventory\Libs\CallbackHandler\CallbackHandler-1.0.lua:156>
    [string "safecall Dispatcher[17]"]:4: in function <[string "safecall Dispatcher[17]"]:4>
    [C]: ?
    [string "safecall Dispatcher[17]"]:13: in function `?'
    ...ventory\Libs\CallbackHandler\CallbackHandler-1.0-6.lua:91: in function `Fire'
    ...rkInventory\Externals\Ace3-AceEvent\AceEvent-3.0-3.lua:120: in function <...rkInventory\Externals\Ace3-AceEvent\AceEvent-3.0.lua:119>

    Locals:
    nil

  • _ForgeUser287822 added the tags New Defect Oct 17, 2014
  • Zwixx posted a comment Oct 23, 2014

    I added in line 50:

    	if (Elephant.dbpc.char.logs[cIndex] == nil) then
    		Elephant.dbpc.char.logs[cIndex] = { ["enabled"] = true, ["logs"] = {}, ["name"] = cIndex };
    	end
    

    that solves the problem for me.


    Edited Oct 23, 2014
  • _ForgeUser287822 posted a comment Oct 25, 2014

    @Zwixx: Go

    thx dude


To post a comment, please login or register a new account.