]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
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
om [Sun, 23 Jul 2006 03:16:09 +0000 (03:16 +0000)]
Tidyups, optimisations and make the log messages make sense...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4522
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sun, 23 Jul 2006 03:03:08 +0000 (03:03 +0000)]
simple logic error (check they already are +o before you set it), seems to fix +o issue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4521
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sun, 23 Jul 2006 02:59:42 +0000 (02:59 +0000)]
Mostly updated to new API; Currently doesn't check config o:lines (should be tried before SQL ones); Doesn't seem to set UMODE +o properly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4520
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sun, 23 Jul 2006 02:43:20 +0000 (02:43 +0000)]
Give SQLfield's constructor parameters default values (effectively giving it a default constructor), lets SQLfieldMap actually be useable..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4519
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sun, 23 Jul 2006 01:22:06 +0000 (01:22 +0000)]
Remove unused variable and assignment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4518
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 16:30:03 +0000 (16:30 +0000)]
Make m_pgsql return the number of affected rows for an UPDATE or INSERT query.
Make m_testclient do an INSERT and test this :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4517
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 16:11:28 +0000 (16:11 +0000)]
Added m_mysql.so and m_pgsql.so to docs, remove m_sql.so, RETAIN ALPHA ORDER.
*ALL OTHER DEVS* please add your modules to this config file when you have time, thanks ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4516
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 16:02:17 +0000 (16:02 +0000)]
Alter for Rows() == X, Cols() == 0 for 'X rows affected' queries
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4515
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 15:45:34 +0000 (15:45 +0000)]
Change to doxygen-friendly comments, and actually document the lot
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4514
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 14:56:35 +0000 (14:56 +0000)]
Change comment to actually be rightish
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4513
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 14:54:18 +0000 (14:54 +0000)]
Reorder a couple of constructor prototypes for consistency
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4512
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 14:51:42 +0000 (14:51 +0000)]
Add m_sqlutils - Currently provides ID->chan/user lookups
Update m_sqlauth to use m_sqlutils
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4511
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 13:30:34 +0000 (13:30 +0000)]
I hate the fucking mysql devs. Craq smoking bastards.
Upon Insert, number of rows is the number of rows effected but the number of columns is 0?????
Add check to MySQLreply::Rows() to ensure the user doesnt see N rows and 0 columns!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4510
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 13:00:07 +0000 (13:00 +0000)]
Allocate id properly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4509
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 12:57:19 +0000 (12:57 +0000)]
Actually hook up the OnUnloadModule event >_<
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4508
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 12:47:31 +0000 (12:47 +0000)]
This compiles, dont expect it to work yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4507
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 11:27:09 +0000 (11:27 +0000)]
Logic error, success is when the error ID *is* NO_ERROR :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4505
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 11:25:49 +0000 (11:25 +0000)]
Stop publishing MySQL feature - check for successful publishing of SQL feature
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4504
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 11:22:20 +0000 (11:22 +0000)]
Stop publishing the PgSQL feature ( :-'( )
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4503
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 11:08:00 +0000 (11:08 +0000)]
Fix -modupdate to not break inspircd_se_config.h (a configure-written header that contains an include for the socketengine header)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4502
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 10:53:17 +0000 (10:53 +0000)]
Make OnCheckReady safe against the user being killed, SO LONG AS THE MODULE WHICH D/C'S THE USER RETURNS FALSE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4501
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 10:52:02 +0000 (10:52 +0000)]
Explicitly return false after killing user in OnCheckReady() (theoretically no change, but just makes sure..)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4500
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 10:45:35 +0000 (10:45 +0000)]
* Change to use QREPLY_FAIL
* Adjust error message so that it appears in the format: "<errno>: <err message>"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4499
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 10:42:11 +0000 (10:42 +0000)]
Handle queries failing properly, actually work
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4498
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 10:41:38 +0000 (10:41 +0000)]
Set the SQLresult's error field properly when the query fails
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4497
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 10:41:08 +0000 (10:41 +0000)]
Add new QREPLY_FAIL error code (bad query syntax etc)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4496
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 09:38:55 +0000 (09:38 +0000)]
Add extra parameter to MySQLresult and SQLresult
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4495
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 09:29:37 +0000 (09:29 +0000)]
Fix test client error cheecking on result types
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4494
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 09:24:00 +0000 (09:24 +0000)]
Update to SQLv2 API
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4493
e03df62e -2008-0410-955e-
edbf42e46eb7