User Name
Password

Go Back   Planetarion Forums > Non Planetarion Discussions > Programming and Discussion

Reply
Thread Tools Display Modes
Unread 15 May 2003, 14:17   #1
Nem3sis
Planetarion Radio DJ
 
Join Date: Apr 2002
Posts: 33
Nem3sis is an unknown quantity at this point
Unrealircd

ne1 know a nice easy way to limit /lusers, /map and /links to ircops?
Nem3sis is offline   Reply With Quote
Unread 15 May 2003, 15:04   #2
ComradeRob
wasted
 
Join Date: Dec 2000
Location: Under the floorboards
Posts: 1,240
ComradeRob needs a job and a girlfriendComradeRob needs a job and a girlfriendComradeRob needs a job and a girlfriendComradeRob needs a job and a girlfriendComradeRob needs a job and a girlfriendComradeRob needs a job and a girlfriendComradeRob needs a job and a girlfriendComradeRob needs a job and a girlfriendComradeRob needs a job and a girlfriendComradeRob needs a job and a girlfriendComradeRob needs a job and a girlfriend
Re: Unrealircd

Quote:
Originally posted by Nem3sis
ne1 know a nice easy way to limit /lusers, /map and /links to ircops?
You have to edit the source and recompile, but the modifications you need to make are trivial.

In m_lusers(), m_map() and m_links(), add the following lines at the start of the function (after variable declarations):

Code:
if (!IsAnOper (sptr)) 
{
  sendto_one (sptr, err_str (ERR_NOPRIVILEGES),
    me.name, parv[0]);
  return 0;
}
This code should work

After making these modifications, recompile and then only opers will be able to use /lusers, /map and /links
__________________
“They were totally confused,” said the birdman, whose flying suit gives him a passing resemblance to Buzz Lightyear in Toy Story. “The authorities said that I was an unregistered aircraft and to fly, you need a licence. I told them, ‘No. To fly, you need wings’.”
ComradeRob is offline   Reply With Quote
Unread 15 May 2003, 16:41   #3
xtothez
¯¯¯¯¯¯¯¯¯
 
xtothez's Avatar
 
Join Date: May 2001
Location: Sept 2057
Posts: 1,813
xtothez has much to be proud ofxtothez has much to be proud ofxtothez has much to be proud ofxtothez has much to be proud ofxtothez has much to be proud ofxtothez has much to be proud ofxtothez has much to be proud ofxtothez has much to be proud ofxtothez has much to be proud ofxtothez has much to be proud of
It's also a good idea to comment out this line in channel.c:

sendto_channelops_butone(NULL, &me, chptr,":%s NOTICE @%s :%s invited %s into the channel.",me.name, chptr->chname, sptr->name, acptr->name);

(mainly because its as annoying as ****).
__________________
in my sig i write down all my previous co-ords and alliance positions as if they matter because I'm not important enough to be remembered by nickname alone.
xtothez is offline   Reply With Quote
Unread 16 May 2003, 09:54   #4
Mong
Forever Delayed
 
Join Date: Sep 2000
Location: www.netgamers.org
Posts: 1,475
Mong is on a distinguished road
Can I just point out how Evil unrealircd is, and how much Sexier and Better ircu is? Ta.

M.
__________________
Firefly Oper and General l4m3r - "I Do Stuff"

O2 Rip-off campaign

<vampy> plus i hate people ... i despise humanity as a whole

pablissimo "I'm still geting over the fact you just posted a pic of your own vomit"
Mong is offline   Reply With Quote
Unread 16 May 2003, 12:57   #5
Dave
Infallible
 
Join Date: Feb 2001
Location: Milton Keynes, UK
Posts: 604
Dave is an unknown quantity at this point
Quote:
Originally posted by Mong
Can I just point out how Evil unrealircd is, and how much Sexier and Better ircu is? Ta.

M.
That depends.

Ircu and Gnuworld is better than ircd/nickserv etc.

But it is far cheaper, easier, and less system intensive to run Unreal with nickserv etc.
__________________
Free
Dave is offline   Reply With Quote
Unread 16 May 2003, 15:07   #6
Jester
Pedantic hypocrite
 
Jester's Avatar
 
Join Date: Jan 2001
Location: Back and to the left
Posts: 1,488
Jester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond repute
Quote:
Originally posted by Dave
But it is far cheaper, easier, and less system intensive on a small network to run Unreal with nickserv etc.
Fixed that for you.

Jester
__________________
I always wanted to be a dancer, but I could never get the shit off my shoes
.......
Jester is offline   Reply With Quote
Unread 16 May 2003, 18:34   #7
Nem3sis
Planetarion Radio DJ
 
Join Date: Apr 2002
Posts: 33
Nem3sis is an unknown quantity at this point
Quote:
Originally posted by xtothez
It's also a good idea to comment out this line in channel.c:

sendto_channelops_butone(NULL, &me, chptr,":%s NOTICE @%s :%s invited %s into the channel.",me.name, chptr->chname, sptr->name, acptr->name);

(mainly because its as annoying as ****).
im 2 steps ahead of u, did that ages ago
Nem3sis is offline   Reply With Quote
Unread 18 May 2003, 11:19   #8
GReaper
The BOFH
 
GReaper's Avatar
 
Join Date: Mar 2001
Posts: 463
GReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant future
Quote:
Originally posted by Mong
Can I just point out how Evil unrealircd is, and how much Sexier and Better ircu is? Ta.

M.
IRCu is generally more evil. The lack of any services which support IRCu is a problem, the only decent services I can see are srvx and GNUWorld, hardly much choice is there? The choice in the past before the release of these services was very very limited.

However nice P10 is, its a bitch with the lack of services which support it.
GReaper is offline   Reply With Quote
Unread 18 May 2003, 14:28   #9
Nem3sis
Planetarion Radio DJ
 
Join Date: Apr 2002
Posts: 33
Nem3sis is an unknown quantity at this point
ComradeRob....... where can i find those functions in 3.2?
Nem3sis is offline   Reply With Quote
Unread 19 May 2003, 09:39   #10
Mong
Forever Delayed
 
Join Date: Sep 2000
Location: www.netgamers.org
Posts: 1,475
Mong is on a distinguished road
Quote:
Originally posted by GReaper
IRCu is generally more evil. The lack of any services which support IRCu is a problem, the only decent services I can see are srvx and GNUWorld, hardly much choice is there? The choice in the past before the release of these services was very very limited.

However nice P10 is, its a bitch with the lack of services which support it.
But GNUWorld is the best; no question about it!

Anyway, as an ircd, ircu beats unreal hands down.

M.
__________________
Firefly Oper and General l4m3r - "I Do Stuff"

O2 Rip-off campaign

<vampy> plus i hate people ... i despise humanity as a whole

pablissimo "I'm still geting over the fact you just posted a pic of your own vomit"
Mong is offline   Reply With Quote
Unread 19 May 2003, 12:17   #11
Rayden
Enforcer
 
Join Date: Jan 2003
Location: /dev/chair
Posts: 55
Rayden is an unknown quantity at this point
ircd-ratbox is ircd-hybrid especially adapted for EFNet. The only network actually worth the time :-)
Rayden is offline   Reply With Quote
Unread 19 May 2003, 15:13   #12
Jester
Pedantic hypocrite
 
Jester's Avatar
 
Join Date: Jan 2001
Location: Back and to the left
Posts: 1,488
Jester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond repute
Quote:
Originally posted by GReaper
IRCu is generally more evil. The lack of any services which support IRCu is a problem, the only decent services I can see are srvx and GNUWorld, hardly much choice is there? The choice in the past before the release of these services was very very limited.

However nice P10 is, its a bitch with the lack of services which support it.
I agree. My car sucks because only two brands make good tires for it.

Jester
__________________
I always wanted to be a dancer, but I could never get the shit off my shoes
.......
Jester is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Forum Jump


All times are GMT +1. The time now is 02:56.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2018