Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  


Pages: [1] 2 3 ... 10
 on: November 29, 2023, 12:19:42 AM 
Started by mikkel - Last post by KnownSyntax

We are already convert the code to anope v2

Do you have this uploaded to GitHub or somewhere? The modules page for this only shows support for Anope 1.7.x still (C vs. C++ module).

 on: September 21, 2023, 12:29:50 PM 
Started by CrazyCat - Last post by CrazyCat
Well, I've a weird bug.
In my module, I do:
Code: [Select]
   void OnJoinChannel(User *u, Channel *c) anope_override
      if (!c->ci)
      query = "INSERT INTO `" + prefix + "chanlog` (chan, nick, type) VALUES (@chan@, @nick@, 'JOIN');";
      query.SetValue("chan", c->name);
      query.SetValue("nick", GetDisplay(u));
   void OnPartChannel(User *u, Channel *c, Anope::string &channel, Anope::string &msg) anope_override
      if (!c->ci)
      query = "INSERT INTO `" + prefix + "chanlog` (chan, nick, type, content) VALUES (@chan@, @nick@, 'PART', @content@);";
      query.SetValue("chan", c->name);
      query.SetValue("nick", GetDisplay(u));
      query.SetValue("content", msg);
The OnJoinChannel works well but the OnPartChannel does nothing, as if it was not called.
No compilation error, no sql error, sounds weird.

I also did a function to log pub and action which works well... Can't understand what the trouble is

 on: September 20, 2023, 11:00:54 PM 
Started by CrazyCat - Last post by CrazyCat

I was searching the wrong way :)
Thx Sadie !

 on: September 20, 2023, 08:39:55 PM 
Started by CrazyCat - Last post by Sadie

 on: September 20, 2023, 05:08:07 PM 
Started by CrazyCat - Last post by CrazyCat
Hi there,
I'm working on a little module and want to hook when a user joins a channel, but looking at channels.cpp, there is no equivalent to OnLeaveChannel (for quit and part).
Do I search in wrong way or is this really missing ?

 on: July 17, 2023, 04:05:35 PM 
Started by Jed - Last post by Jed
info mynick shows:

-NickServ- XYZ is ...
-NickServ- XYZ is a Services Operator of type Services Administrator.
-NickServ-           Account: XYZ
-NickServ-       Online from: myip
-NickServ-       Online from: myip
-NickServ-        Registered: Jun 13 18:47:51 2023 Mitteleuropäische Sommerzeit (33 days, 22 hours, 12 minutes ago)
-NickServ- Last quit message: Connection closed
-NickServ-     Email address: mymail
-NickServ-           Options: Private, Protection, Security, Auto-op

oper list shows:

acces denied

 on: July 16, 2023, 09:16:26 AM 
Started by Jed - Last post by Zemra
show output of /ns info yournick and /os oper list

 on: July 06, 2023, 09:20:28 AM 
Started by Jed - Last post by Jed

recently set up my IRC with unralircd and the new Anope branch.

So far everthing works fine according chanserv and nickserv.

However i'm unable to oper up my user as I wanted to add a Bot

Always says Access denied no matter what command I give to os

As far as I understand everything is alright so maybe its only a short thing, but I'm unable to find it.

Would be glad if anyone could have a look.

oper XYZ {
   class opers;
   mask *;
   password "mypass";
   /* Oper permissions are defined in an 'operclass' block.
    * See
    * UnrealIRCd ships with a number of default blocks, see
    * the article for a full list. We choose 'netadmin' here.
   operclass XYZ;
   swhois "is a Administrator";
 and at the end:
/* Admin Server Block */
operclass XYZ {
   permissions {
      channel { operonly; see; override { flood; } }
      self { getbaddcc; opermodes; set; }
      server { opermotd; info; close; module; dns; rehash;
               remote; description; addmotd;
               addomotd; tsctl { view; } }

operclass XYZ-override {
   parent admin;
   permissions {
      channel { operonly; see; override; }
      self { getbaddcc; opermodes; set; unkickablemode; }

rest is pretty standard.

anope, services.conf:
   /* The nickname of this services oper */
   name = "XYZ"

   /* The opertype this person will have */
   type = "Services Administrator"

   /* If set, the user must be an oper on the IRCd to gain their Services
    * oper privileges.
   require_oper = yes

   /* An optional password. If defined, the user must login using "/OPERSERV LOGIN" first */
   #password = "mypass"

   /* An optional SSL fingerprint. If defined, it's required to be able to use this opertype. */
   #certfp = "ed3383b3f7d74e89433ddaa4a6e5b2d7"

   /* An optional list of user@host masks. If defined the user must be connected from one of them */
   #host = "*@* ident@*"

   /* An optional vHost to set on users who identify for this oper block.
    * This will override HostServ vHosts, and may not be available on all IRCds
   #vhost = "oper.mynet"

Yes, XYZ is a registered nick.

Could provide full .conf files if needed.

Any help would be appreciated ;)
Thnk you.

 on: May 16, 2023, 10:31:28 PM 
Started by The Myth Lives - Last post by CrazyCat
Last message disregarded :D

Nice to know it works well

 on: May 16, 2023, 06:54:48 PM 
Started by The Myth Lives - Last post by The Myth Lives
Disregard last message.

All works as expected.

Pages: [1] 2 3 ... 10