Anope IRC Services

Anope.org => Anope General => Topic started by: Herman on February 12, 2016, 03:37:47 PM

Title: Help with module os_notinchan.cpp
Post by: Herman on February 12, 2016, 03:37:47 PM
Hello,

I run Anope-2.0.2 and I have installed the module os_notinchan.cpp in the folder "third" but I can not load the module in IRC yet. Can some one please tell me what I need to do so I can load the module? Please when possible in simple english because english is not my home language.

Best regards, Herman.
Title: Re: Help with module os_notinchan.cpp
Post by: Azander on February 12, 2016, 04:40:38 PM
From the anope 2.0.x wiki:

    How to install a module

1        put the module source into modules/third/.
2        Run ./Config (again) to generate correct makefiles
3        Type: cd build
4        Type: make install
5        Update your config files in services/conf/
6        Issue a /msg operserv restart, or use /operserv modload <module_name> to load the new module.

In step 5, for this module you need to add the following in operserv.conf (or operserv section):

Code: [Select]
module {
name = "os_notinchan"
tshunreason = "Rejoin us when you are willing to join us publicly."
killreason = "Non-Channel kill"
akillreason = "Not-in-channel ban"
akillexpire = "7m"
idlechan = "#idle"
}
command { service = "OperServ"; name="NOTINCHAN"; command = "operserv/notinchan"; permission = "operserv/akill"; }   

Az
Title: Re: Help with module os_notinchan.cpp
Post by: Herman on February 12, 2016, 04:52:42 PM
Hello Azander,

thank you for your reply. This is what I don't understand. The module is located in /third/ . Then I log in but where do I have to do ./Configure? when I run it in /third/ this is what I get. -bash: ./Config: No such file or directory

Regards, Herman.
Title: Re: Help with module os_notinchan.cpp
Post by: Azander on February 12, 2016, 05:01:29 PM
Run ./Config in the base anope folder, just like you did when you set up anope the first time.

Az
Title: Re: Help with module os_notinchan.cpp
Post by: Herman on February 12, 2016, 05:39:35 PM
Hello Azander,

thank you verry much, its working now. 1 more question about this, i just klikt enter on every question during config. Does there are no changes made now in Anope?

Regards, Herman.
Title: Re: Help with module os_notinchan.cpp
Post by: Azander on February 12, 2016, 05:48:49 PM
The only changes are the compile count, module, and the config to load the module.  Nothing else is altered.


Title: Re: Help with module os_notinchan.cpp
Post by: Herman on February 12, 2016, 06:10:36 PM
Thanks a lot for your help Azander.

Regards, Herman.