]>
jfr.im git - irc/SurrealServices/srsv.git/log
erry [Sat, 6 Aug 2011 13:57:42 +0000 (13:57 +0000)]
Remove some debug lines
Code doesn't look as horrible as i thought ^_^
It works in a real inspircd net! ( I think i've said that before )
needs testing in unreal but there's probably not that many bugs left to fix now :3
git-svn-id: http://svn.tabris.net/repos/srsv@3554
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Wed, 3 Aug 2011 07:05:21 +0000 (07:05 +0000)]
make bots send different umodes for insp since a lot of them arent what we think they are
git-svn-id: http://svn.tabris.net/repos/srsv@3553
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Mon, 1 Aug 2011 15:25:06 +0000 (15:25 +0000)]
FIx parse errors & bot_part_if_needed
works in a real insp network!
git-svn-id: http://svn.tabris.net/repos/srsv@3552
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Fri, 29 Jul 2011 12:18:21 +0000 (12:18 +0000)]
Fix a problem with parse & networks w/ more than 1 server.
git-svn-id: http://svn.tabris.net/repos/srsv@3551
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Thu, 28 Jul 2011 14:21:03 +0000 (14:21 +0000)]
Likewise.
git-svn-id: http://svn.tabris.net/repos/srsv@3550
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Thu, 28 Jul 2011 13:54:46 +0000 (13:54 +0000)]
Make the Send/Parse links point to the proper location
git-svn-id: http://svn.tabris.net/repos/srsv@3549
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Thu, 28 Jul 2011 13:51:09 +0000 (13:51 +0000)]
Fix stuff like sending hashes instead of nicks
git-svn-id: http://svn.tabris.net/repos/srsv@3548
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Wed, 27 Jul 2011 14:40:35 +0000 (14:40 +0000)]
Fix umode parsing in unreal
git-svn-id: http://svn.tabris.net/repos/srsv@3547
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Wed, 27 Jul 2011 12:30:03 +0000 (12:30 +0000)]
Remove some debug prints
git-svn-id: http://svn.tabris.net/repos/srsv@3546
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Sat, 23 Jul 2011 13:03:58 +0000 (13:03 +0000)]
Fixed some more stuff.. No more getuuid for normal users!
It works well in unreal AND insp
Next is to solve the mystery of commands being sent with :HASH(Something) as source
git-svn-id: http://svn.tabris.net/repos/srsv@3545
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Fri, 22 Jul 2011 14:14:37 +0000 (14:14 +0000)]
Oops, send proper UUIDS for agents
git-svn-id: http://svn.tabris.net/repos/srsv@3544
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Fri, 22 Jul 2011 13:59:33 +0000 (13:59 +0000)]
Get rid of getuuid for users and move ircd-specific stuff to send & parse only
fix mode to (probably) work
git-svn-id: http://svn.tabris.net/repos/srsv@3543
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Sat, 16 Jul 2011 10:01:09 +0000 (10:01 +0000)]
Oops, fix typo
git-svn-id: http://svn.tabris.net/repos/srsv@3542
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Sat, 16 Jul 2011 09:56:49 +0000 (09:56 +0000)]
NullServ! Great for ranting
Fix some bugs in unreal
Code still sucks :F
git-svn-id: http://svn.tabris.net/repos/srsv@3541
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Fri, 15 Jul 2011 12:20:12 +0000 (12:20 +0000)]
Fix bot not opping itself on join in insp... Unreal is still borken in most parts
Some of my code is horrible.. And i'm using $ircd_capabilities to determine if we're using insp for some things. I know i should do this another way
git-svn-id: http://svn.tabris.net/repos/srsv@3540
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Thu, 14 Jul 2011 19:01:07 +0000 (19:01 +0000)]
Remove debug die line...
git-svn-id: http://svn.tabris.net/repos/srsv@3539
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Thu, 14 Jul 2011 18:58:13 +0000 (18:58 +0000)]
Some basic CAPAB parsing. Checks if you can have vhosts, watch, silence and +q and +a
this still won't work in unrealircd.
Other than that it's got to be quite stable in insp and can work with a very
minimal setup (requires m_spanningtree.so (for linking) and m_services-account.so for +r)
git-svn-id: http://svn.tabris.net/repos/srsv@3538
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Sat, 9 Jul 2011 12:20:30 +0000 (12:20 +0000)]
Fwiw, it';s a lot more stable now. Most stuff seems to work.
I still need to parse CAPAB though and test it in unreal... God knows what it'll do for unreal.
Oh and put the services uuids somewhere else
/ServServ raw is EXTREMELY dangerous: one wrong command and inspircd will kick srsv off, or
make insp segfault :3
Even if you type the command in the wrong case! Oh, and knowing the agent UUIDs is required
if you want to play with /servserv raw.
git-svn-id: http://svn.tabris.net/repos/srsv@3537
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 7 Jul 2011 15:08:52 +0000 (15:08 +0000)]
merge error on can_do. replace en toto from 0.4.3
git-svn-id: http://svn.tabris.net/repos/srsv@3536
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 7 Jul 2011 15:02:15 +0000 (15:02 +0000)]
missing s/@flags/@flagList/
git-svn-id: http://svn.tabris.net/repos/srsv@3535
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 7 Jul 2011 14:58:55 +0000 (14:58 +0000)]
move some var decls out of the BEGIN block.
hopefully will fix the aparrent scoping issue.
git-svn-id: http://svn.tabris.net/repos/srsv@3534
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 7 Jul 2011 14:42:43 +0000 (14:42 +0000)]
hmmm. leftofer notation from a merge. looks harmless
git-svn-id: http://svn.tabris.net/repos/srsv@3533
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 6 Jul 2011 04:21:49 +0000 (04:21 +0000)]
first hack at merging erry's work + the current release 0.4.3,
making 0.5.0
it's probably VERY broken right now, for either insp or Unreal.
git-svn-id: http://svn.tabris.net/repos/srsv@3532
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Mon, 4 Jul 2011 18:25:52 +0000 (18:25 +0000)]
copy 0.4.3 to 0.5.0
git-svn-id: http://svn.tabris.net/repos/srsv@3531
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Mon, 4 Jul 2011 18:16:38 +0000 (18:16 +0000)]
My work on this so far....
What works: I think registering identifying etc and basic stuff works by now.. I hope.
I also think you can't have an infinite loop of changing to guest* anymore... I sure hope.
Some of Parse returns user items as should
It also seems to recognise OPERTYPE but that's new
What doesn't work: userkill is in the wrong place
CAPAB isn't parsed.
New features:
/cs why will show if the guy is awaiting authorization to be added
/ms read unread will read last unread memo
There's lots of debug lines/messy code
You need to pray five times to make it work (just kidding)
git-svn-id: http://svn.tabris.net/repos/srsv@3530
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 26 Jun 2011 01:42:55 +0000 (01:42 +0000)]
trunk is out of date. don't use it
git-svn-id: http://svn.tabris.net/repos/srsv@3529
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sat, 25 Jun 2011 17:43:12 +0000 (17:43 +0000)]
update version string to 0.4.3.0
git-svn-id: http://svn.tabris.net/repos/srsv@3528
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sat, 25 Jun 2011 17:42:20 +0000 (17:42 +0000)]
designate current 0.4.3 as release.
It's not as if we're aware of any showstopper bugs
and 0.5.x is probably coming in 6 months
git-svn-id: http://svn.tabris.net/repos/srsv@3527
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sat, 25 Jun 2011 17:38:53 +0000 (17:38 +0000)]
minor cleanups of the tor code
also put update_tor_list() into InParent
The TOR code leaks... but I can't find anything actually wrong, so I
think it is just a Perl problem, not an oversight in the TOR code.
Perl's malloc sucks anyway.
git-svn-id: http://svn.tabris.net/repos/srsv@3526
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 15 Jun 2011 18:55:27 +0000 (18:55 +0000)]
initial commit of erry's Insp work.
I (tabris) have not audited it yet.
git-svn-id: http://svn.tabris.net/repos/srsv@3525
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Tue, 14 Jun 2011 02:00:49 +0000 (02:00 +0000)]
verdammt overcomplicated code, just so that
if user has neverop, but chan has autovoice,
user will have the pointy + crammed down their throat.
git-svn-id: http://svn.tabris.net/repos/srsv@3524
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 25 May 2011 14:05:29 +0000 (14:05 +0000)]
blacklistLoader can now use wget or curl, if curl is available
git-svn-id: http://svn.tabris.net/repos/srsv@3523
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Mon, 4 Apr 2011 18:59:04 +0000 (18:59 +0000)]
allow /cs k to alias to /cs kick
git-svn-id: http://svn.tabris.net/repos/srsv@3522
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Mon, 4 Apr 2011 18:58:53 +0000 (18:58 +0000)]
fixup flood control to always allow opers
git-svn-id: http://svn.tabris.net/repos/srsv@3521
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 5 Dec 2010 20:11:52 +0000 (20:11 +0000)]
try to eliminate the bad programming pattern:
my $foo = $bar if $baz;
This is bad b/c sometimes $foo will retain a value from a previous
invocation of the sub or loop.
git-svn-id: http://svn.tabris.net/repos/srsv@3520
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 4 Nov 2010 17:56:11 +0000 (17:56 +0000)]
update INSTALL file for progress on MySQL version
git-svn-id: http://svn.tabris.net/repos/srsv@3519
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 6 Oct 2010 17:07:39 +0000 (17:07 +0000)]
cs_why's can_do call shouldn't have NOREPLY
git-svn-id: http://svn.tabris.net/repos/srsv@3518
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 6 Oct 2010 17:01:38 +0000 (17:01 +0000)]
CS SET LOG is supposed to be restricted
git-svn-id: http://svn.tabris.net/repos/srsv@3517
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Tue, 5 Oct 2010 04:38:32 +0000 (04:38 +0000)]
add a diff as workaround for perl 5.12's storable vs regex issue
git-svn-id: http://svn.tabris.net/repos/srsv@3516
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 19 Sep 2010 19:03:40 +0000 (19:03 +0000)]
fixup bad cut/paste job in botserv's !why
git-svn-id: http://svn.tabris.net/repos/srsv@3515
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 16 Sep 2010 21:07:58 +0000 (21:07 +0000)]
MySQL deprecated TYPE=Foo to specify table type sometime around 4.1 and
removed sometime around 5.2.
Instead, use Engine=Foo.
I think we did this in services.sql a long time ago.
git-svn-id: http://svn.tabris.net/repos/srsv@3514
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Mon, 6 Sep 2010 20:51:34 +0000 (20:51 +0000)]
make os_uinfo accept userobjs (currently user hashrefs), so that
os_ninfo can pass them to os_uinfo.
This in conjunction with r3512 lets us make OS NINFO work on offline
users.
git-svn-id: http://svn.tabris.net/repos/srsv@3513
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Mon, 6 Sep 2010 20:38:20 +0000 (20:38 +0000)]
a) more readability in SrSv::NickReg::User, and switch to using Stubs
b) add a new function: get_nick_users_all,
for identified nick users that may be offline
git-svn-id: http://svn.tabris.net/repos/srsv@3512
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Mon, 6 Sep 2010 20:14:59 +0000 (20:14 +0000)]
add !why trigger to botserv bots
git-svn-id: http://svn.tabris.net/repos/srsv@3511
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sat, 31 Jul 2010 04:17:24 +0000 (04:17 +0000)]
handle base64 timestamp in TOPIC parser
git-svn-id: http://svn.tabris.net/repos/srsv@3510
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 25 Jul 2010 06:31:30 +0000 (06:31 +0000)]
document bantype 10
git-svn-id: http://svn.tabris.net/repos/srsv@3509
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Tue, 20 Jul 2010 15:39:09 +0000 (15:39 +0000)]
fractured english needed fixing
git-svn-id: http://svn.tabris.net/repos/srsv@3508
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 18 Jul 2010 06:35:23 +0000 (06:35 +0000)]
revert r3505, do it the _right_ way
add WELCOME to the override table for SERVOP
git-svn-id: http://svn.tabris.net/repos/srsv@3507
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 18 Jul 2010 06:25:53 +0000 (06:25 +0000)]
actually bail out if err_deny in /ns ajoin
git-svn-id: http://svn.tabris.net/repos/srsv@3506
70d4eda1 -72e9-0310-a436-
91e5bd24443c
musashix90 [Sat, 17 Jul 2010 22:38:50 +0000 (22:38 +0000)]
Make CS WELCOME also check for SERVOP services rank
git-svn-id: http://svn.tabris.net/repos/srsv@3505
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 11 Jul 2010 17:03:18 +0000 (17:03 +0000)]
dronebl file format has changed slightly.
git-svn-id: http://svn.tabris.net/repos/srsv@3504
70d4eda1 -72e9-0310-a436-
91e5bd24443c
musashix90 [Sat, 10 Jul 2010 04:16:45 +0000 (04:16 +0000)]
Introducing the NS LISTEMAIL command, which will list
nicknames registered with a specified pattern.
git-svn-id: http://svn.tabris.net/repos/srsv@3503
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sat, 10 Jul 2010 03:31:55 +0000 (03:31 +0000)]
tag off 0.4.3-pre5
git-svn-id: http://svn.tabris.net/repos/srsv@3502
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 27 Jun 2010 20:34:15 +0000 (20:34 +0000)]
oops, acc == 3 is hop, not acc == 2
git-svn-id: http://svn.tabris.net/repos/srsv@3501
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 27 Jun 2010 20:32:33 +0000 (20:32 +0000)]
followup to r3499. If user has hop or vop, they should not retain +o
git-svn-id: http://svn.tabris.net/repos/srsv@3500
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 27 Jun 2010 03:56:11 +0000 (03:56 +0000)]
fix bug (reported by Artemis_Fowl@LucidChat) wherein NS SET NEVEROP
would act as if SPLITOPS was enabled, if initially joining. If this is
confusing:
1. empty registered channel.
2. user joins, who has no access. ircd ops him (empty channel)
3. at this point, services should deop him. If they're NS SET NEVEROP,
it won't.
This is tested re a) CS SET SPLITOPS, b) CS SET NEVEROP, c) NS SET
NEVEROP, with a user having a) zero access b) SOp access c) AOp access.
Assuming CS SET NEVEROP or NS SET NEVEROP:
a) for user with zero access, they're deopped.
b) for user with SOp access, they retain +o
b.1) If user did not have NEVEROP, they'd be -o+a
c) for user with AOp access, they retain +o
git-svn-id: http://svn.tabris.net/repos/srsv@3499
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Tue, 22 Jun 2010 15:13:55 +0000 (15:13 +0000)]
if no arg to !kbm or !km, just bail out
git-svn-id: http://svn.tabris.net/repos/srsv@3498
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Tue, 15 Jun 2010 06:48:38 +0000 (06:48 +0000)]
import a featurette from freenode, courtesy of errietta.
Add the option to add a '|' in the reason, as hidden info about
the akick for chanop eyes only.
git-svn-id: http://svn.tabris.net/repos/srsv@3497
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Tue, 8 Jun 2010 00:44:58 +0000 (00:44 +0000)]
"fix trivial bug in bot_say. NOT going to do a restart for this one.
git-svn-id: http://svn.tabris.net/repos/srsv@3496
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 6 Jun 2010 18:48:15 +0000 (18:48 +0000)]
fixup spaces vs tabs in SimpleHash.pm. ~280 bytes smaller too
git-svn-id: http://svn.tabris.net/repos/srsv@3495
70d4eda1 -72e9-0310-a436-
91e5bd24443c
musashix90 [Wed, 2 Jun 2010 02:56:59 +0000 (02:56 +0000)]
A little fix for /CS TOPIC sending out the channel name
within the topic.
git-svn-id: http://svn.tabris.net/repos/srsv@3494
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 26 May 2010 05:30:16 +0000 (05:30 +0000)]
make /cs kickban mode-setting mergeable
git-svn-id: http://svn.tabris.net/repos/srsv@3493
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 26 May 2010 05:28:28 +0000 (05:28 +0000)]
localize $ircline so we can tell the difference btwn user-context and
timer-context.
git-svn-id: http://svn.tabris.net/repos/srsv@3492
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 26 May 2010 05:13:03 +0000 (05:13 +0000)]
change out add_timer for Event->timer for log rotation
git-svn-id: http://svn.tabris.net/repos/srsv@3491
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Tue, 25 May 2010 20:13:11 +0000 (20:13 +0000)]
fix a modes merge bug introduced by r3468
git-svn-id: http://svn.tabris.net/repos/srsv@3490
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 23 May 2010 21:13:37 +0000 (21:13 +0000)]
fixup Math::BigInt try => 'GMP'
git-svn-id: http://svn.tabris.net/repos/srsv@3489
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 23 May 2010 21:10:59 +0000 (21:10 +0000)]
change the botserv !cmd API
a) insert $msg before @args (most functions ignore $msg)
This is to fix a problem with !topic
b) reorder $chan before $cmd
Because it makes more sense, and i had to change the API anyway
git-svn-id: http://svn.tabris.net/repos/srsv@3488
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sat, 22 May 2010 01:39:50 +0000 (01:39 +0000)]
a) move HAS_64BIT_INT into SrSv::64bit
b) update SrSv::IPv6 to use SrSv::64bit
c) make SrSv::Unreal::Base64 use HAS_64BIT_INT to decide whether to use
Math::BigInt
git-svn-id: http://svn.tabris.net/repos/srsv@3487
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 20 May 2010 03:31:34 +0000 (03:31 +0000)]
final fixes for r3478
git-svn-id: http://svn.tabris.net/repos/srsv@3486
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 20 May 2010 03:31:33 +0000 (03:31 +0000)]
refactor the privmsg functions, and make a privmsg_noloop()
git-svn-id: http://svn.tabris.net/repos/srsv@3485
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 19 May 2010 22:02:45 +0000 (22:02 +0000)]
well, the code works now. but it needs to be in the Parent, not worker
git-svn-id: http://svn.tabris.net/repos/srsv@3484
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 19 May 2010 21:58:05 +0000 (21:58 +0000)]
r3482 broke something. trying again
git-svn-id: http://svn.tabris.net/repos/srsv@3483
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 19 May 2010 21:52:15 +0000 (21:52 +0000)]
fix bad logic (less-than not greater-than) from r3478
git-svn-id: http://svn.tabris.net/repos/srsv@3482
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 19 May 2010 21:48:56 +0000 (21:48 +0000)]
remove debugcode from nickserv related to r3478
git-svn-id: http://svn.tabris.net/repos/srsv@3481
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 19 May 2010 21:48:16 +0000 (21:48 +0000)]
missing part of r3478
git-svn-id: http://svn.tabris.net/repos/srsv@3480
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 19 May 2010 21:44:52 +0000 (21:44 +0000)]
fixup typo from r3478
git-svn-id: http://svn.tabris.net/repos/srsv@3479
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 19 May 2010 21:35:24 +0000 (21:35 +0000)]
rework of r3475, so that
a) opers are notified
b) the high depth is configurable
c) the notifications are limited every to once per 5 seconds.
git-svn-id: http://svn.tabris.net/repos/srsv@3478
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 19 May 2010 18:02:15 +0000 (18:02 +0000)]
new command OS KILLNEW
Lets you kill/kline/uinfo/msg users that have connected within a set
time-period.
Intended to be used during a cloneflood. Consider it a retroactive
DEFCON.
git-svn-id: http://svn.tabris.net/repos/srsv@3477
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 19 May 2010 17:38:35 +0000 (17:38 +0000)]
massively refactor OS CLONES and OS LONERS.
They now share a common core, __os_massmod
git-svn-id: http://svn.tabris.net/repos/srsv@3476
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 19 May 2010 03:00:55 +0000 (03:00 +0000)]
if services is busy, only process high priority requests, and ask the
user to come back later for others.
high priority include NS ID (and friends) and CS KICK (and friends)
git-svn-id: http://svn.tabris.net/repos/srsv@3475
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Mon, 17 May 2010 05:06:19 +0000 (05:06 +0000)]
better method for determining 64bit int availability in perl
git-svn-id: http://svn.tabris.net/repos/srsv@3474
70d4eda1 -72e9-0310-a436-
91e5bd24443c
musashix90 [Sun, 16 May 2010 18:05:05 +0000 (18:05 +0000)]
OS GZLINE appears to be working, SrSv::User's get_user_ip now
returns IPv6 and IPv4 addresses, where applicable.
SrSv::IPv6 can now transform an IPv6 address into a /64
git-svn-id: http://svn.tabris.net/repos/srsv@3473
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 16 May 2010 17:51:19 +0000 (17:51 +0000)]
allow ipv6 addrs in /os gzline. don't validate yet
git-svn-id: http://svn.tabris.net/repos/srsv@3472
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 16 May 2010 04:07:59 +0000 (04:07 +0000)]
hack to make FreeBSD work re IPv6 and WORDSIZE
git-svn-id: http://svn.tabris.net/repos/srsv@3471
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Fri, 14 May 2010 05:45:35 +0000 (05:45 +0000)]
preserve message/nick order in cs_why
git-svn-id: http://svn.tabris.net/repos/srsv@3470
70d4eda1 -72e9-0310-a436-
91e5bd24443c
musashix90 [Fri, 14 May 2010 05:44:14 +0000 (05:44 +0000)]
Fixed override notice for CS WHY, also fixed it to continue looking up
after it sees a nonexistent user. Fixed the help doc for CS WHY to
reflect allowing multiple users as params. Replaced a missing
underline char in the help doc for CS OP.
git-svn-id: http://svn.tabris.net/repos/srsv@3469
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Wed, 12 May 2010 18:29:02 +0000 (18:29 +0000)]
possible fix re ~T:block:foo -> ~t:block:foo
which works for unsetting modes, but not for setting them
This breaks mode merging vs the ircd
git-svn-id: http://svn.tabris.net/repos/srsv@3468
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sat, 8 May 2010 20:02:56 +0000 (20:02 +0000)]
mv do_ajoin(...) to after svsnick takes effect
git-svn-id: http://svn.tabris.net/repos/srsv@3467
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 6 May 2010 20:03:53 +0000 (20:03 +0000)]
improvement for r3460
use $msg and not @args, to better preserve spaces
git-svn-id: http://svn.tabris.net/repos/srsv@3466
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 6 May 2010 19:51:06 +0000 (19:51 +0000)]
experimental unsyncserver check, that checks if parent is unsync, and
thus child will be too. Not tested yet, as I don't have access to a
working Janus daemon.
git-svn-id: http://svn.tabris.net/repos/srsv@3465
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 6 May 2010 19:50:23 +0000 (19:50 +0000)]
unsyncserver is now a list, not a scalar option. update config-example
git-svn-id: http://svn.tabris.net/repos/srsv@3464
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 6 May 2010 19:49:59 +0000 (19:49 +0000)]
clarify meaning of main.conf's 'unsyncserver', and add irc.pokebeach.com
git-svn-id: http://svn.tabris.net/repos/srsv@3463
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 6 May 2010 19:37:46 +0000 (19:37 +0000)]
update networks using SrSv
git-svn-id: http://svn.tabris.net/repos/srsv@3462
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 6 May 2010 19:35:17 +0000 (19:35 +0000)]
when using certain kinds of 'services' or 'stats' servers, you might
need to list more than 'unsyncserver'
This is half of what I'm intending to do.
The other half is adding in mapping, so that we check a server's parent
to know if that parent is also an 'unsyncserver'.
git-svn-id: http://svn.tabris.net/repos/srsv@3461
70d4eda1 -72e9-0310-a436-
91e5bd24443c
musashix90 [Wed, 5 May 2010 15:14:41 +0000 (15:14 +0000)]
Added CS TOPIC command, as well as a !topic command for BotServ bots
git-svn-id: http://svn.tabris.net/repos/srsv@3460
70d4eda1 -72e9-0310-a436-
91e5bd24443c
musashix90 [Mon, 3 May 2010 00:02:53 +0000 (00:02 +0000)]
Fix for r3457, second instance of a const was missed
git-svn-id: http://svn.tabris.net/repos/srsv@3459
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 2 May 2010 22:30:49 +0000 (22:30 +0000)]
perl 5.8 doesn't like limits.ph for getting __WORDSIZE
but 5.8 and 5.10 both have sys/types.ph
git-svn-id: http://svn.tabris.net/repos/srsv@3458
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sat, 1 May 2010 23:59:56 +0000 (23:59 +0000)]
more elegant fix for r3456
git-svn-id: http://svn.tabris.net/repos/srsv@3457
70d4eda1 -72e9-0310-a436-
91e5bd24443c
musashix90 [Sat, 1 May 2010 23:14:18 +0000 (23:14 +0000)]
Fixed two instances of a typo, which made services say that
a variable was killed off upon connecting
git-svn-id: http://svn.tabris.net/repos/srsv@3456
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sat, 1 May 2010 04:19:11 +0000 (04:19 +0000)]
better error reporting if limits.ph is unavailable in SrSv::IPv6
git-svn-id: http://svn.tabris.net/repos/srsv@3455
70d4eda1 -72e9-0310-a436-
91e5bd24443c