Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2] 3 4 ... 10
 11 
 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 ?

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

Quote
-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
respectively.

 13 
 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

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

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.

unrealircd.conf:
Quote
oper XYZ {
   class opers;
   mask *;
   password "mypass";
   /* Oper permissions are defined in an 'operclass' block.
    * See https://www.unrealircd.org/docs/Operclass_block
    * 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";
   vhost irc.my-irc.de;
}
 and at the end:
/* Admin Server Block */
operclass XYZ {
   permissions {
      chat;
      channel { operonly; see; override { flood; } }
      client;
      immune;
      self { getbaddcc; opermodes; set; }
      server { opermotd; info; close; module; dns; rehash;
               remote; description; addmotd;
               addomotd; tsctl { view; } }
      route;
      kill;
      server-ban;
   }
}

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

rest is pretty standard.

anope, services.conf:
Quote
oper
{
   /* 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 = "*@*.anope.org 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.


 15 
 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

 16 
 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.

 17 
 on: May 16, 2023, 05:01:15 PM 
Started by The Myth Lives - Last post by The Myth Lives
The complete source are @ https://gitlab.com/irc-stuff/anope-cs-autolimit

I've added the french translation, feel free to contribute and add other languages.

@TODO: display IRCOP help (LIST command) only to ircops

Unfortunately the module doesn't seem to work. Whenever I try to use one of the following commands:
Code: [Select]
AUTOLIMIT <channel> SET <amount> <interval>
AUTOLIMIT <channel> DEL
AUTOLIMIT <channel> SHOW
I get a Access denied. message from ChanServ.

Also, whenever I use /OS MODRELOAD cs_autolimit services lose connection (something to investigate later).

 18 
 on: May 16, 2023, 09:54:51 AM 
Started by The Myth Lives - Last post by welcome to our world !
The only person hurt here is you with all of your selfishness.

I'll assume that you don't know what a community is and why forums like this one exist.

If you want to help the community and share the fixed code, good. If you don't then just don't bother replying to others posts/requests.

Cheers
so naive

 19 
 on: May 16, 2023, 08:28:22 AM 
Started by The Myth Lives - Last post by CrazyCat
The complete source are @ https://gitlab.com/irc-stuff/anope-cs-autolimit

I've added the french translation, feel free to contribute and add other languages.

@TODO: display IRCOP help (LIST command) only to ircops

 20 
 on: May 16, 2023, 07:27:10 AM 
Started by The Myth Lives - Last post by The Myth Lives
The AccessCheck must be corrected.

Initial:
Code: [Select]
bool AccessCheck(CommandSource &source, ChannelInfo *ci) {
return source.GetUser()->HasMode("OPER") || source.AccessFor(ci).HasPriv("chanserv/access/modify");
}

Working:
Code: [Select]
bool AccessCheck(CommandSource &source, ChannelInfo *ci) {
return source.GetUser()->HasMode("OPER") || source.AccessFor(ci).HasPriv("ACCESS_CHANGE") || source.HasPriv("chanserv/access/modify");
}

Thanks, I'll take a look at it later on.

Pages: 1 [2] 3 4 ... 10