mod_muc_admin - Administrative MUC features

Name: mod_muc_admin
Purpose: Additional ejabberd commands and WebAdmin pages
Author: Badlop
Type: Module
Requirements: ejabberd 1.1.x for basic features. ejabberd 2.0.2 or higher for WebAdmin pages
Download: ejabberd-modules

This module implements several additional administrative commands that can be executed using ejabberdctl, ejabberd_xmlrpc...

This module also provides a few pages that display information about the existing rooms, and some of their characteristics.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

ejabberd crashes when using ejabberdctl create_room

running ejabberd 2.1.0 with erlang 12B5. Am I doing something wrong or is there a bug?

# ejabberdctl create_room mktest1 jabbertest.domain.com jabbertest.domain.com
Failed RPC connection to the node 'ejabberd@jabbertest.domain.com': {'EXIT',
{badarg,
[{ets,
lookup,
[local_config,
ejabberdctl_access_commands]},
{ejabberd_config,
get_local_option,
1},
{ejabberd_ctl,
get_accesscommands,
0},
{ejabberd_ctl,
process,
1},
{rpc,
'-handle_call/3-fun-0-',
5}]}}

I got the issue cleared up.

I got the issue cleared up. Basically, mod_muc_admin doesn't do any verification of valid input, it just jams it into ejabberd and if you put something invalid into an option, it can cause the whole thing to puke. change_room_option also does not support all available options.

I have tried to start this

I have tried to start this module and got this error:

=ERROR REPORT==== 2009-07-24 09:22:41 ===
E(<0.3423.0>:gen_mod:73) : {undef,      
                            [{ejabberd_commands,register_commands,
                              [[{ejabberd_commands,muc_online_rooms,
                                 [muc],                            
                                 "List existing rooms ('global' to get all vhosts)",
                                 [],mod_muc_admin,muc_online_rooms,                
                                 [{host,string}],                                  
                                 {rooms,{list,{room,string}}}},
...

ejabberd-2.0.5

If you have ejabberd 2.0.5,

If you have ejabberd 2.0.5, you must install the mod_muc_admin of branches/ejabberd-2.0.x, not of trunk/

вот лог компиляции: [root@srv

вот лог компиляции:

[root@srv ejabberd-2.0.x]# ./build.sh
Recompile: src/mod_muc_admin
src/mod_muc_admin.erl:12: Warning: behaviour gen_mod undefined

Я утсановил модуль из этого

Я утсановил модуль из этого бранча, но получаю ту же ошибку

Syndicate content