]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
brain [Thu, 3 Aug 2006 14:25:49 +0000 (14:25 +0000)]
Check for spoofed DNS replies where the source-port is invalid, or the ip is not that of the nameserver we're configured to use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4668
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 3 Aug 2006 13:46:42 +0000 (13:46 +0000)]
Properly check for duplicate dns id's from the PRNG
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4667
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 3 Aug 2006 13:28:12 +0000 (13:28 +0000)]
Improve PRNG
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4666
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 3 Aug 2006 11:17:03 +0000 (11:17 +0000)]
Dynamically generate 004 numeric from the modehandler list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4665
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 22:52:31 +0000 (22:52 +0000)]
Added comments to class DNS and typedefs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4662
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 22:07:43 +0000 (22:07 +0000)]
Pseudo-random id's again, combined with incrementing value, gettimeofday and geteuid using xor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4661
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 21:46:22 +0000 (21:46 +0000)]
Add back stats counters for dns total, good and bad
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4660
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 21:39:12 +0000 (21:39 +0000)]
Allocate request id's in sequence, which means we wont get a duplicate id until 65536 id's have been given out.
Much safer than rand()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4659
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 21:26:49 +0000 (21:26 +0000)]
Change to a const
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4658
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 21:06:44 +0000 (21:06 +0000)]
Change more names and types
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4657
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 20:54:39 +0000 (20:54 +0000)]
Absolutely everything is now part of class DNS, or class Resolver.
This means our dns code is totally encapsulated and we know that
changing it wont effect anything else so long as the interface stays
the same.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4656
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 20:44:46 +0000 (20:44 +0000)]
More tidying
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4655
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 20:34:23 +0000 (20:34 +0000)]
Move more stuff into private members of class DNS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4654
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 20:16:25 +0000 (20:16 +0000)]
Tidyups, rename some vars
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4653
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 20:06:50 +0000 (20:06 +0000)]
Made MasterSocket static
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4652
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 19:59:06 +0000 (19:59 +0000)]
Move more stuff into class DNS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4651
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 19:15:22 +0000 (19:15 +0000)]
Tweak case of all classes to match those in the rest of the core
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4650
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 19:07:12 +0000 (19:07 +0000)]
Change comment at start of the file, rename dns_connection
to dns_request (they no longer represent connections with
unique FD's so the old name was kind of silly)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4649
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 19:00:15 +0000 (19:00 +0000)]
Change a message
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4648
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 18:55:10 +0000 (18:55 +0000)]
More tidying. Add comments. More comments to do :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4647
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 18:44:13 +0000 (18:44 +0000)]
Add error messages to Resolver::OnError()
Add exception handling to several places that use Resolver (it can throw)
Remove Resolver::ProcessResult(), its now handled within the bowels of dns.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4646
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 18:06:04 +0000 (18:06 +0000)]
The great summer clean (better than a spring clean)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4645
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 17:35:47 +0000 (17:35 +0000)]
Tidyup var names. people who use 'l' to mean 'length' need to be shot with a brick
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4644
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 17:27:07 +0000 (17:27 +0000)]
More tidyups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4643
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 17:19:55 +0000 (17:19 +0000)]
Tidyups (as usual)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4642
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 17:09:40 +0000 (17:09 +0000)]
More tidyups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4641
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 17:06:03 +0000 (17:06 +0000)]
Tidyup var names. If i ever meet this person who called all the firedns vars 'l' and 'c' and 'r' im going to beat them with Om's fish.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4640
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 17:03:04 +0000 (17:03 +0000)]
Tidyup dns.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4639
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 12:50:41 +0000 (12:50 +0000)]
Check for invalid ip's being bound to
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4638
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 11:50:01 +0000 (11:50 +0000)]
(1) remove CleanAndResolve.
(2) remove feature of being able to bind hostnames in <bind> tags (it used CleanAndResolve) :p
(3) Fix the stuff in SpanningTree that used CleanAndResolve to validate connecting ip addresses - it now builds an 'allowed ip cache' on rehash/startup instead
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4637
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 10:36:38 +0000 (10:36 +0000)]
Check for duplicate servers in OnLookupComplete
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4636
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 10:33:49 +0000 (10:33 +0000)]
Comment ServernameResolver class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4635
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 10:26:21 +0000 (10:26 +0000)]
InspSocket no longer resolves hosts.
InspSocket::DoResolve() and the stuff that calls it is gone, if you pass InspSocket an invalid ip, it will bail during its connect.
You must now use Resolver classes to resolve hostnames into IP addresses, if you wish to do this. Currently, only one non-extra module
does this, see class ServernameResolver within m_spanningtree
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4634
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 09:13:36 +0000 (09:13 +0000)]
Change comment which referred to an fd, is now an id
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4633
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 2 Aug 2006 00:38:59 +0000 (00:38 +0000)]
Fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4632
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 23:29:39 +0000 (23:29 +0000)]
Remove dnsqueue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4631
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 23:29:24 +0000 (23:29 +0000)]
Remove dnsqueue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4630
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 23:26:11 +0000 (23:26 +0000)]
Comments, add more detail, remove dnsqueue.h include from tons of places
Remove THREADED_DNS defines from all over the place
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4629
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 23:09:07 +0000 (23:09 +0000)]
Fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4628
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 23:07:26 +0000 (23:07 +0000)]
Fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4627
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 22:59:59 +0000 (22:59 +0000)]
Stuff to make user host resolving use class Resolver - not tested yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4626
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 22:22:02 +0000 (22:22 +0000)]
Remove X_ESTAB_CLASSDNS, X_ESTAB_DNS now does the job of this (i TOLD w00t and om i was removing this eventually, and now i did :p)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4625
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 22:21:16 +0000 (22:21 +0000)]
Remove unused vars from class DNS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4624
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 22:19:31 +0000 (22:19 +0000)]
Remove unused temp buffers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4623
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 21:35:07 +0000 (21:35 +0000)]
Removed threaded dns (it might make a comeback some day, but as it stands its incompatible with the new OO resolver)
Migrated to new OO resolver, removed as much firedns craq as is safe to do so, operates over one file descriptor now and keyed against request id.
The only way to use the system is via class Resolver (so i'll need to migrate the rest of the ircd to use it)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4622
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 19:17:30 +0000 (19:17 +0000)]
Clone counting works with ipv6 now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4621
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 19:15:27 +0000 (19:15 +0000)]
Add support for comparing ipv6 for clone counting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4620
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 17:34:52 +0000 (17:34 +0000)]
Remove the same craq
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4619
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 17:25:39 +0000 (17:25 +0000)]
Remove ZapThisDns
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4617
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 15:41:20 +0000 (15:41 +0000)]
Fix broken inet_pton call
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4616
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 15:08:52 +0000 (15:08 +0000)]
Fixes for inspsocket in ipv6 environment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4615
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 14:52:31 +0000 (14:52 +0000)]
Still working under ipv4 now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4614
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 14:42:39 +0000 (14:42 +0000)]
Dns stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4613
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 12:33:13 +0000 (12:33 +0000)]
This might well be the last commit to this dns resolver in its current form. With a bit of luck, we can make a better (always-threaded) one
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4612
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 11:46:19 +0000 (11:46 +0000)]
The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if this works yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 10:42:22 +0000 (10:42 +0000)]
AF_INET -> define to AF_FAMILY, will be either AF_INET or AF_INET6
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4610
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 10:37:16 +0000 (10:37 +0000)]
Move to entirely using insp_sockaddr and insp_inaddr for socket stuff, first step on the road to ipv6 support
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4609
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 10:09:16 +0000 (10:09 +0000)]
Missing include breaks "make clean" on the cmd_* files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4608
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 31 Jul 2006 12:30:42 +0000 (12:30 +0000)]
Remove match/wildcmp wrapper which just casts from const char* to char*, do the cast within wildcmp and rename wildcmp to match.
Remove other casts by casting directly to unsigned char* first time around
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4607
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Jul 2006 23:05:46 +0000 (23:05 +0000)]
I think ive found the answer to the hanging connections problem. The majority of stuff in userprocess is skipped over when fd==0, it was fd > 0 rather than fd > -1 in a check. This would prevent one user (near the first) with fd 0 from connecting properly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4605
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Jul 2006 19:03:58 +0000 (19:03 +0000)]
When m_ident isnt loaded, dont prepend ~ to idents
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4604
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Jul 2006 15:43:03 +0000 (15:43 +0000)]
Back to 1.1.0+SVN
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4602
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Jul 2006 13:40:50 +0000 (13:40 +0000)]
1.1.0+PartyHats(ATP)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4599
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Jul 2006 13:00:51 +0000 (13:00 +0000)]
REMOTE STATS! WOOO AND YAY!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4596
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Jul 2006 11:21:51 +0000 (11:21 +0000)]
Fix to send out modes remotely when a ban expires so that other ircds have their bans removed (they used to rely upon the expiry of the ban at the opposite end of the connection by the other end's m_timedbans, now they dont have to)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4595
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Jul 2006 01:36:58 +0000 (01:36 +0000)]
Fix more timedban stuff - possible infinite loop if ban expires after the channel has been deleted (and/or re-created under the same name)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4592
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 29 Jul 2006 22:02:11 +0000 (22:02 +0000)]
Fix for bug which can lock up ircd if someone adds a timed ban when the banlist is full
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4589
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 29 Jul 2006 16:14:38 +0000 (16:14 +0000)]
Started UserManager class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4586
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 29 Jul 2006 13:50:52 +0000 (13:50 +0000)]
Fix typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4585
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 22:16:15 +0000 (22:16 +0000)]
Allow invalid nicks from remote users in NICK (we'll need this soon for UID nick collision handling)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4584
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 20:46:24 +0000 (20:46 +0000)]
Remove documentation of m_operwho from here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4583
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 20:45:42 +0000 (20:45 +0000)]
Remove m_operwho, no longer required in 1.1 as standard /who can do its job
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4582
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 20:44:20 +0000 (20:44 +0000)]
Finish off /WHO (i think it covers everything). Now has a few extra options
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4581
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 17:13:38 +0000 (17:13 +0000)]
Tidyup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4580
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 16:55:14 +0000 (16:55 +0000)]
Typical, forgot a ;
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4579
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 16:54:42 +0000 (16:54 +0000)]
Document <options:syntaxhints> and <options:nouserdns>
Change syntaxhints to seperate RPL_TEXT (prefix SYNTAX)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4578
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 15:45:38 +0000 (15:45 +0000)]
Take invisible requirement out of chlist()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4577
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 15:42:00 +0000 (15:42 +0000)]
Remove casts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4576
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Fri, 28 Jul 2006 12:36:37 +0000 (12:36 +0000)]
Remove unnecessary cast ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4575
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 12:28:55 +0000 (12:28 +0000)]
Beat om to the commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4574
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 12:15:26 +0000 (12:15 +0000)]
Tidyup message.cpp, remove some really old craq.
Improve tidiness of new common_channels function
Add timeout value to blocking CleanAndResolve function
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4572
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 12:01:41 +0000 (12:01 +0000)]
Remove TODO, we just did it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4571
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 12:01:07 +0000 (12:01 +0000)]
Fix the obligotary typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4570
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 12:00:25 +0000 (12:00 +0000)]
Change all references to voodoo numbers (7, 3 etc) to the new bitwise constants for user->registered
Change a lot of user->fd > -1 to use the IS_LOCAL() macro
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4569
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 11:39:16 +0000 (11:39 +0000)]
Change some if fd > -1 to IS_LOCAL macro
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4568
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 11:21:53 +0000 (11:21 +0000)]
Optimize common_channels
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4567
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 10:53:54 +0000 (10:53 +0000)]
Change chlist() to use a chained append
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4566
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 00:19:35 +0000 (00:19 +0000)]
Make the error more obvious, still has 'not enough params' on the start now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4563
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 00:17:40 +0000 (00:17 +0000)]
Re-order stuff so that users cant get syntax for commands they dont have access to
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4562
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Jul 2006 00:13:41 +0000 (00:13 +0000)]
Add support for syntax of commands in place of the text 'Not enough parameters' in numeric 461, where supported.
To support this each derived class of command_t must set the value of command_t::syntax to a non-empty string.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4561
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 27 Jul 2006 22:26:08 +0000 (22:26 +0000)]
Add VF_SERVICEPROVIDER
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4560
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 27 Jul 2006 22:22:24 +0000 (22:22 +0000)]
Fix to allow +q/-q etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4559
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 27 Jul 2006 22:18:38 +0000 (22:18 +0000)]
Allow SAMODE and remote users to set +qa without local-user checks (bug?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4558
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 27 Jul 2006 19:40:47 +0000 (19:40 +0000)]
Change std::pair<bool,std::string> to neater typedef "ModePair"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4557
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 27 Jul 2006 17:59:20 +0000 (17:59 +0000)]
Mode merging during FJOIN with ourts==theirts. Only +k and +l have CheckTimestamp methods atm, needs to be finished by me and TIDIED.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4556
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 27 Jul 2006 11:56:08 +0000 (11:56 +0000)]
Fix the remote +k-k stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4554
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 27 Jul 2006 11:44:11 +0000 (11:44 +0000)]
Allow freaky stuff with +k when coming from a server or remote user (allow +k when already a +k, or -k without correct key)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4553
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 27 Jul 2006 11:41:20 +0000 (11:41 +0000)]
Fix crashbug when exiting a remote client with threaded dns on (oops)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4552
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 27 Jul 2006 11:32:59 +0000 (11:32 +0000)]
* Fix Server::SendMode to actually work again.
* In the 1.1 protocol we now use FMODE for everything, rather than MODE.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4551
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 27 Jul 2006 02:33:00 +0000 (02:33 +0000)]
commit remainder of new mode bouncing stuff for TS based modes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4550
e03df62e -2008-0410-955e-
edbf42e46eb7