|
|
| Author |
Message |
gadfire none

Joined: 25 Jan 2006 Posts: 28
|
Posted: Aug 04, 2007 11:49pm Post subject: How does one remove all glines? |
|
|
Im running the latest version of anope with unrealircd.
I am wanting t0 clear the gline list and all the commands I have tried dont work..does anyone know what the command is to remove all glines? |
|
| Back to top |
|
 |
PingBad Guru

Joined: 05 Feb 2005 Posts: 2008 Location: New Zealand
|
Posted: Aug 05, 2007 10:30am Post subject: |
|
|
| restart all of your IRCds |
|
| Back to top |
|
 |
gadfire none

Joined: 25 Jan 2006 Posts: 28
|
Posted: Aug 05, 2007 1:13pm Post subject: |
|
|
| well I didnt want to do that because that would make everyone disconnect..isnt there a command? |
|
| Back to top |
|
 |
ircmojo Lurker

Joined: 02 Mar 2007 Posts: 215 Location: $HOME sweet $HOME
|
Posted: Aug 05, 2007 1:24pm Post subject: |
|
|
have you ever read the documentation for your ircd? It's a good place to start and would then be used for someonth other than taking up drive space.
after all the ircd is smart ya know.
Output of using the ever elusive /helpop system
| Code: |
***** Gline *****
-
This command provides timed G:Lines. If you match a G:Line you cannot
connect to ANY server on the IRC network
A time of 0 in the GLINE makes it permanent (Never Expires).
You may also specify the time in the format 1d10h15m30s.
IRC Operator only command.
-
Syntax: GLINE <user@host mask or nick> [time] <reason>
(Adds a G:line for user@host)
GLINE -<user@host mask> (Removes a G:line for user@host)
Example: GLINE *@*.idiot.net 900 Spammers (Adds a 15 min G:line)
GLINE *@*.idiot.net 1d5h Spammers (Adds a 29 hour G:line)
GLINE Idiot 1d Abuse
GLINE -*@*.idiot.net
NOTE: requires the can_gkline oper flag
|
|
|
| Back to top |
|
 |
gadfire none

Joined: 25 Jan 2006 Posts: 28
|
Posted: Aug 05, 2007 1:35pm Post subject: |
|
|
hmm that still isnt showing me how to clear all the glines?
Heres what I need..
a command that will clear all the glines without having to restart the ircd.does anyone have that command then post it and Ill paste it and use it. |
|
| Back to top |
|
 |
ircmojo Lurker

Joined: 02 Mar 2007 Posts: 215 Location: $HOME sweet $HOME
|
Posted: Aug 05, 2007 3:10pm Post subject: |
|
|
GLINE -<user@host mask> (Removes a G:line for user@host) <----
Stop being lazy and just remove them .. there isn't a command that will remove all of them at once.
So far you have disliked every solution handed to you, well get over it, that's all you get. |
|
| Back to top |
|
 |
gadfire none

Joined: 25 Jan 2006 Posts: 28
|
Posted: Aug 05, 2007 4:40pm Post subject: |
|
|
sir.you want to hand remove 3000 glines,do you have the time?I guess Ill believe you and assume there isnt a command.dont get all snotty over someone asking a question ok.you need to work on your people skills
I know how to add and remove glines any 2 yr old knows that |
|
| Back to top |
|
 |
Zao Newbie

Joined: 23 Dec 2003 Posts: 76 Location: IRC
|
Posted: Aug 05, 2007 5:13pm Post subject: |
|
|
| You might try /os akill del all. With how your system is setup, that might work. |
|
| Back to top |
|
 |
gadfire none

Joined: 25 Jan 2006 Posts: 28
|
Posted: Aug 05, 2007 5:14pm Post subject: |
|
|
| I tired,it didnt work..but thanks anyways for trying |
|
| Back to top |
|
 |
Zao Newbie

Joined: 23 Dec 2003 Posts: 76 Location: IRC
|
Posted: Aug 05, 2007 6:01pm Post subject: |
|
|
| You might have to restart your ircd then. Send out a quick global letting your users know it's going down, and then restart it. |
|
| Back to top |
|
 |
gadfire none

Joined: 25 Jan 2006 Posts: 28
|
Posted: Aug 05, 2007 6:25pm Post subject: |
|
|
| maybe ill do that late tonight.it really isnt all too important. |
|
| Back to top |
|
 |
FullSpectrum none

Joined: 15 Jan 2007 Posts: 7
|
Posted: Aug 06, 2007 7:28pm Post subject: Mass Gline Remove |
|
|
As long as you're using unreal...this will work
Put this in your remotes:
| Code: | raw 223:*: { gline $+(-,$3) }
For gzlines just do:
| raw 223:*: { gzline $+(-,$3) }
Then close script editor and type /gline
This will clear your list. You have to do gline/gzline seperately. After your done removing MAKE SURE YOU DELETE THE CODE OR COMMENT IT OUT BY PUTTING ############ IN FRONT. If you fail to do this, every time you try and get a gline list it will mass remove. |
|
| Back to top |
|
 |
gadfire none

Joined: 25 Jan 2006 Posts: 28
|
Posted: Aug 06, 2007 8:17pm Post subject: |
|
|
| I tried it ..it didnt work I added the code. |
|
| Back to top |
|
 |
Dan_C none

Joined: 09 Nov 2004 Posts: 18
|
Posted: Aug 07, 2007 3:12pm Post subject: |
|
|
| Did you replace the gzline $+(-,$3) , with gline $+(-,$3) ? |
|
| Back to top |
|
 |
gadfire none

Joined: 25 Jan 2006 Posts: 28
|
Posted: Aug 07, 2007 4:34pm Post subject: |
|
|
| Yea I did.I dont know why it wont work |
|
| Back to top |
|
 |
|