ejabberd-contrib icon indicating copy to clipboard operation
ejabberd-contrib copied to clipboard

mod_irc crash

Open Void-Seeker opened this issue 2 years ago • 4 comments

mod_irc crashes on launch, this is in the console on ejabberdctl live.

2023-09-15 08:08:57.873103+03:00 [critical] ejabberd initialization was aborted because a module start failed.
2023-09-15 08:08:57.872634+03:00 [error] CRASH REPORT:
  crasher:
    initial call: mod_irc:init/1
    pid: <0.512.0>
    registered_name: []
    exception error: undefined function gen_mod:get_opt_hosts/2
      in function  mod_irc:init/1 (mod_irc.erl, line 98)
      in call from gen_server:init_it/2 (gen_server.erl, line 851)
      in call from gen_server:init_it/6 (gen_server.erl, line 814)
    ancestors: [ejabberd_gen_mod_sup,ejabberd_sup,<0.128.0>]
    message_queue_len: 0
    messages: []
    links: [<0.424.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 2586
    stack_size: 28
    reductions: 258
  neighbours:

Perhaps, ejabberd api has changed? I think that function only takes one argument in current ejabberd version.

Void-Seeker avatar Sep 15 '23 05:09 Void-Seeker