Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Help with module os_notinchan.cpp  (Read 2195 times)

0 Members and 1 Guest are viewing this topic.

Herman

  • Anope User
  • Offline Offline
  • Posts: 41
Help with module os_notinchan.cpp
« 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.
Logged

Azander

  • Contributor
  • *
  • Offline Offline
  • Posts: 6
Re: Help with module os_notinchan.cpp
« Reply #1 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
Logged

Herman

  • Anope User
  • Offline Offline
  • Posts: 41
Re: Help with module os_notinchan.cpp
« Reply #2 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.
Logged

Azander

  • Contributor
  • *
  • Offline Offline
  • Posts: 6
Re: Help with module os_notinchan.cpp
« Reply #3 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
Logged

Herman

  • Anope User
  • Offline Offline
  • Posts: 41
Re: Help with module os_notinchan.cpp
« Reply #4 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.
Logged

Azander

  • Contributor
  • *
  • Offline Offline
  • Posts: 6
Re: Help with module os_notinchan.cpp
« Reply #5 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.


Logged

Herman

  • Anope User
  • Offline Offline
  • Posts: 41
Re: Help with module os_notinchan.cpp
« Reply #6 on: February 12, 2016, 06:10:36 PM »

Thanks a lot for your help Azander.

Regards, Herman.
Logged
Pages: [1]   Go Up