Skip to content

mod_irc crash #324

@Void-Seeker

Description

@Void-Seeker

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions