]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
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
brain [Wed, 26 Jul 2006 21:54:36 +0000 (21:54 +0000)]
Add extra method to mode handler, ModeHandler::ModeSet().
Returns a std::pair<bool,string>.
if the bool is true, the mode is set, and the second item in the pair is the parameter set on it, if any
If the bool is false, the mode is not set, and the parameter given is returned as the second item of the pair
To be used in mode bouncing, to build a safe set of bounced modes (dont ask yet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4549
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 26 Jul 2006 20:53:08 +0000 (20:53 +0000)]
Fix reiterpret_cast stuff that doesnt work right
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4548
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 26 Jul 2006 20:31:27 +0000 (20:31 +0000)]
Adapt m_spanningtree to use irc::tokenstream instead of its own irc-line-parser (that was teh sux)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4547
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 26 Jul 2006 15:17:43 +0000 (15:17 +0000)]
Migrate towards FMODE with TS, remove the SYNCTS command idea
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4546
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Tue, 25 Jul 2006 15:00:49 +0000 (15:00 +0000)]
Remove numeric which makes some clients (Xchat, more?) think their nick is in use. Apparently it's not needed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4544
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 25 Jul 2006 11:20:53 +0000 (11:20 +0000)]
Exclude LUSERS lines with zero counts (NO WE WONT CHANGE THE SPELLING OF connection(s)!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4543
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 25 Jul 2006 10:35:40 +0000 (10:35 +0000)]
Prevent notice loops on servermasks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4541
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 25 Jul 2006 10:30:54 +0000 (10:30 +0000)]
Allow PRIVMSG and NOTICE targets of $<servermask> to the module events (this wasnt trivial and is almost a damn feature)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4539
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 25 Jul 2006 09:34:38 +0000 (09:34 +0000)]
Correct static build
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4537
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 25 Jul 2006 09:22:04 +0000 (09:22 +0000)]
Fix NOTICE $* to go between servers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4536
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 23 Jul 2006 16:22:50 +0000 (16:22 +0000)]
Change watchlist to a list of pointers, can operate and iterate much faster
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4534
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 23 Jul 2006 15:57:30 +0000 (15:57 +0000)]
In the constructor which doesnt set Request::id, we set Request::id explicitly to '\0', which will prevent such a request accidentally breaking an id-supporting module with an uninitialized buffer :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4533
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 23 Jul 2006 15:49:56 +0000 (15:49 +0000)]
Tidyup and bugfix, not copying the correct column names
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4532
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sun, 23 Jul 2006 15:47:08 +0000 (15:47 +0000)]
Change to use GetId() and ID rather than GetData() and data
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4531
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 23 Jul 2006 15:46:13 +0000 (15:46 +0000)]
Fixed to dynamically allocate the fieldlist
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4530
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sun, 23 Jul 2006 15:32:22 +0000 (15:32 +0000)]
Add an ID field to Request and a GetId() method, takes const char* and returns it - Added new constructor to use it, all modules using ID should convert to the 'new' way of doing Requests, data is now theoretically depreceiated
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4529
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 23 Jul 2006 11:02:19 +0000 (11:02 +0000)]
Move mysql_rpath into extra
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4527
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sun, 23 Jul 2006 10:58:21 +0000 (10:58 +0000)]
*boot* youuuuu're outta here - old blocking SQL API replaced with sexy new async one <3
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4526
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sun, 23 Jul 2006 10:55:19 +0000 (10:55 +0000)]
Free, as they should be, fieldlist and/or fieldmap in destructor of PgSQLresult *if* they were allocated
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4525
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 23 Jul 2006 10:45:06 +0000 (10:45 +0000)]
More stuff to return empty lists and maps when there are no more rows in the dataset
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4524
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 23 Jul 2006 10:30:33 +0000 (10:30 +0000)]
Adjust m_mysql to match the assumed behaviour of m_pgsql exactly, e.g. when there are now rows left return an empty row
Fix mistake which required a reference to be freed (?!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4523
e03df62e -2008-0410-955e-
edbf42e46eb7