Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

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

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


 23 
 on: May 16, 2023, 10:31:28 PM 
Started by PeGaSuS - Last post by CrazyCat
Last message disregarded :D

Nice to know it works well

 24 
 on: May 16, 2023, 06:54:48 PM 
Started by PeGaSuS - Last post by PeGaSuS
Disregard last message.

All works as expected.

 25 
 on: May 16, 2023, 05:01:15 PM 
Started by PeGaSuS - Last post by PeGaSuS
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).

 26 
 on: May 16, 2023, 09:54:51 AM 
Started by PeGaSuS - 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

 27 
 on: May 16, 2023, 08:28:22 AM 
Started by PeGaSuS - 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

 28 
 on: May 16, 2023, 07:27:10 AM 
Started by PeGaSuS - Last post by PeGaSuS
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.

 29 
 on: May 16, 2023, 07:26:03 AM 
Started by PeGaSuS - Last post by PeGaSuS
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

 30 
 on: May 16, 2023, 05:03:14 AM 
Started by PeGaSuS - Last post by welcome to our world !
The idea of a module fix request is to have the fix publicly available, and I don't see it anywhere public.

Fixing for use on your own IRC network and saying "Done" doesn't really help the community.

Cheers

so hurt

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