]>
jfr.im git - irc/SurrealServices/srsv.git/log
tabris [Sun, 26 Feb 2012 21:58:55 +0000 (21:58 +0000)]
bring in LWP and WWW::Mechanize, for TOR
git-svn-id: http://svn.tabris.net/repos/srsv@3581
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 26 Feb 2012 21:58:50 +0000 (21:58 +0000)]
moved Digest and Date into CPAN/
git-svn-id: http://svn.tabris.net/repos/srsv@3580
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sat, 18 Feb 2012 15:23:36 +0000 (15:23 +0000)]
don't allow NS SILENCE ADD <NULL> to crash the worker
git-svn-id: http://svn.tabris.net/repos/srsv@3579
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 15 Jan 2012 17:13:12 +0000 (17:13 +0000)]
ignore topic changes for unregistered channels
git-svn-id: http://svn.tabris.net/repos/srsv@3578
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Mon, 9 Jan 2012 12:34:06 +0000 (12:34 +0000)]
Make tempban smarter.
git-svn-id: http://svn.tabris.net/repos/srsv@3577
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Sat, 7 Jan 2012 11:40:23 +0000 (11:40 +0000)]
Clean up ban/tempban
git-svn-id: http://svn.tabris.net/repos/srsv@3576
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 20 Nov 2011 17:34:32 +0000 (17:34 +0000)]
fix typo in clones_exist()
git-svn-id: http://svn.tabris.net/repos/srsv@3575
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Mon, 17 Oct 2011 15:09:46 +0000 (15:09 +0000)]
changed my mind about the expiry key. reverted to erry's version
git-svn-id: http://svn.tabris.net/repos/srsv@3574
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 16 Oct 2011 20:53:25 +0000 (20:53 +0000)]
tempban cleanups. Not sure if correct yet
git-svn-id: http://svn.tabris.net/repos/srsv@3573
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 16 Oct 2011 20:47:01 +0000 (20:47 +0000)]
cleanups in tempban code
git-svn-id: http://svn.tabris.net/repos/srsv@3572
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 16 Oct 2011 20:41:28 +0000 (20:41 +0000)]
reverse order of column in expiry key.
we _might_ be interested in a particular channel,
but most times won't.
git-svn-id: http://svn.tabris.net/repos/srsv@3571
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Sun, 16 Oct 2011 20:35:23 +0000 (20:35 +0000)]
fix tmpban table schema to be sane
git-svn-id: http://svn.tabris.net/repos/srsv@3570
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 8 Sep 2011 19:08:50 +0000 (19:08 +0000)]
work around MySQL4.x SHOW TABLES for Schema.pm
git-svn-id: http://svn.tabris.net/repos/srsv@3569
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 8 Sep 2011 05:58:52 +0000 (05:58 +0000)]
merge r3567 to 0.5.0: work-around broken Math::BigInt
git-svn-id: http://svn.tabris.net/repos/srsv@3568
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Thu, 8 Sep 2011 05:55:59 +0000 (05:55 +0000)]
Attempt to work around old versions of perl/Math::BigInt that don't like
use Math::BigInt try => 'GMP';
git-svn-id: http://svn.tabris.net/repos/srsv@3567
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Mon, 5 Sep 2011 12:08:39 +0000 (12:08 +0000)]
Fix clone check query
git-svn-id: http://svn.tabris.net/repos/srsv@3566
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Mon, 5 Sep 2011 05:48:56 +0000 (05:48 +0000)]
sql file
git-svn-id: http://svn.tabris.net/repos/srsv@3565
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Sun, 4 Sep 2011 17:22:55 +0000 (17:22 +0000)]
sucky code for /cs set noclones; /cs tempban; /cs set bantime don't expect it to work.
git-svn-id: http://svn.tabris.net/repos/srsv@3564
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Fri, 2 Sep 2011 18:33:08 +0000 (18:33 +0000)]
merge cs_topicappend and friends, including cleanups
git-svn-id: http://svn.tabris.net/repos/srsv@3563
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Fri, 2 Sep 2011 18:28:48 +0000 (18:28 +0000)]
move cs_topicappend into correct file section
git-svn-id: http://svn.tabris.net/repos/srsv@3562
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Fri, 2 Sep 2011 18:27:07 +0000 (18:27 +0000)]
refactor cs_topicappend and friends
not perfect, but a little better.
git-svn-id: http://svn.tabris.net/repos/srsv@3561
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Fri, 2 Sep 2011 16:54:45 +0000 (16:54 +0000)]
/cs set noclones; prevents clones from joining channels. Appears to work. Help files included.
git-svn-id: http://svn.tabris.net/repos/srsv@3560
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Thu, 1 Sep 2011 16:41:18 +0000 (16:41 +0000)]
Help files for topicappend/topicprepend
git-svn-id: http://svn.tabris.net/repos/srsv@3559
70d4eda1 -72e9-0310-a436-
91e5bd24443c
erry [Thu, 1 Sep 2011 16:19:18 +0000 (16:19 +0000)]
/cs topicappend & /cs topicprepend, taken from atheme. Help files included! Works for 0.4.3
git-svn-id: http://svn.tabris.net/repos/srsv@3558
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Tue, 30 Aug 2011 03:12:52 +0000 (03:12 +0000)]
merge r3556 to 0.4.3
git-svn-id: http://svn.tabris.net/repos/srsv@3557
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Tue, 30 Aug 2011 03:11:02 +0000 (03:11 +0000)]
minor tweaks re TOR updates
git-svn-id: http://svn.tabris.net/repos/srsv@3556
70d4eda1 -72e9-0310-a436-
91e5bd24443c
tabris [Mon, 8 Aug 2011 15:14:05 +0000 (15:14 +0000)]
minimal changes to make Unreal support compile again
Not tested.
Also a few reversions of the removal of TOK_FOO
git-svn-id: http://svn.tabris.net/repos/srsv@3555
70d4eda1 -72e9-0310-a436-
91e5bd24443c
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