]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
brain [Sat, 16 Dec 2006 23:15:50 +0000 (23:15 +0000)]
Add format="" value, at request of Emeric.
See: http://www.inspircd.org/forum/index.php/topic,245.0.html
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6019
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sat, 16 Dec 2006 22:43:56 +0000 (22:43 +0000)]
Config option added for prefixed channel NOTICEs and PRIVMSGs to turn on/off IRCU style of adding prefix to outgoing text.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6018
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 16 Dec 2006 21:40:06 +0000 (21:40 +0000)]
Add stuff so that the core catches CoreException properly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6017
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 16 Dec 2006 21:14:54 +0000 (21:14 +0000)]
Allow linefeeds in this module in one value
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6016
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 16 Dec 2006 21:12:30 +0000 (21:12 +0000)]
Tidy up text formatting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6015
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 16 Dec 2006 21:10:01 +0000 (21:10 +0000)]
Change m_helpop to use the new boolean flag in ReadConf for allowing newlines, tidy up text formatting a bit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6014
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 16 Dec 2006 21:04:47 +0000 (21:04 +0000)]
Add an optional parameter to ConfigReader::ReadValue which defines if we want linefeeds or not.
Tidy up some duplicated code in configreader (error reporting)
Change ModuleException to inherit from CoreException, have the configreader throw and catch its CoreException on fatal error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6013
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 16 Dec 2006 18:39:53 +0000 (18:39 +0000)]
Fix all the left out examples that dont get copied to the config dir on install
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6012
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 16 Dec 2006 10:49:13 +0000 (10:49 +0000)]
Add some comments to explain whats going off in one of the TreeSocket constructors
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6011
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 16 Dec 2006 10:28:15 +0000 (10:28 +0000)]
Not sending capab when theres no transport module attached to a server socket
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6010
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 16 Dec 2006 09:58:45 +0000 (09:58 +0000)]
Get rid of HelpopException, use ModuleException thats had reasons for ages now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6009
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 16 Dec 2006 03:00:40 +0000 (03:00 +0000)]
w00t: the power to rewrite modules in the leap of a small tiredness barrier. helpop refactored to use a leet cached map lookup, should be fast, leet, cool, etc. I'm going to bed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6008
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sat, 16 Dec 2006 02:55:53 +0000 (02:55 +0000)]
Make SNO notice for +o global
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6007
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sat, 16 Dec 2006 02:54:16 +0000 (02:54 +0000)]
Make irc::spacify take 'const char*' instead of 'char*'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6006
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sat, 16 Dec 2006 02:54:03 +0000 (02:54 +0000)]
Make irc::spacify take 'const char*' instead of 'char*'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6005
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 16 Dec 2006 02:23:00 +0000 (02:23 +0000)]
Linefeeds in quotes, just for w00t.
WARNING: THIS NEEDS SOME EXTRA STUFF TOMORROW: Someone remind me to add a 'no linefeeds' bool flag to ConfigReader::ReadValue, because a lot of values should NOT have linefeeds in!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6004
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sat, 16 Dec 2006 01:59:49 +0000 (01:59 +0000)]
Remove libIRCDaes.so from install
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6003
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 16 Dec 2006 00:54:16 +0000 (00:54 +0000)]
Usermode +G allowed opers to change other user's modes. As the core doesn't follow this behaviour anymore, neither does it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6002
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 16 Dec 2006 00:22:40 +0000 (00:22 +0000)]
Fix setting of * for bans in m_messageflood, this has been broken for quite some time and nobody noticed? :P
Spotted on barafranca, tested on chatspike.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6001
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 15 Dec 2006 22:44:23 +0000 (22:44 +0000)]
Remove doc/supported, it's obsoleted by the wiki. Happy 6000 commits, everyone. :D
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6000
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 15 Dec 2006 22:41:53 +0000 (22:41 +0000)]
s/ChatSpike/InspIRCd/ development team
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5999
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 15 Dec 2006 22:18:59 +0000 (22:18 +0000)]
And now, just to force you to recompile the *whole* ircd.. updated headers on the headers. :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5998
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 15 Dec 2006 22:03:27 +0000 (22:03 +0000)]
Still more massive commit fun. Headers in include/ still to be done, else that's it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5997
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 15 Dec 2006 21:45:30 +0000 (21:45 +0000)]
Jesus, look who's the commit whore today. More header updates, and removal of namespacing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5996
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 15 Dec 2006 21:33:22 +0000 (21:33 +0000)]
Remove global namespacing, makes modules compile FASTAH. Also massive update on headers (change to InspIRCd Development Team, extend copyright to 2007).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 15 Dec 2006 18:12:37 +0000 (18:12 +0000)]
Try harder to make sure the ERROR string gets sent when closing a connection
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5994
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 15 Dec 2006 17:32:16 +0000 (17:32 +0000)]
Cleaning up irrelevent stuff in channels.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5993
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 14 Dec 2006 21:30:21 +0000 (21:30 +0000)]
Remove commented out FlushWriteBuf()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5992
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 14 Dec 2006 20:43:39 +0000 (20:43 +0000)]
Remove misc debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5991
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 14 Dec 2006 20:35:21 +0000 (20:35 +0000)]
Fix silly bug of the day.
User was only getting a userrec::chans entry added if they had any privelages on the channel. If they werent opped, voiced, or halfopped on join, no entry in the hash. Silly brain now added a:
user->chans[Ptr] = 0;
:p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5990
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 14 Dec 2006 19:51:56 +0000 (19:51 +0000)]
Remove FlushWriteBuffer() from DoBackgroundUserStuff(). Its no longer required here, it used to try and flush the buffer before we actually monitored write events, long ago, without seeing if it could write first, and wasted cpu. It should be removed now and doesnt seem to affect anything.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5989
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 14 Dec 2006 19:30:42 +0000 (19:30 +0000)]
CPU Usage percent in stats z! yay!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5988
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 14 Dec 2006 17:58:13 +0000 (17:58 +0000)]
Change how users are quit if they get a write error during the things they do.
Instead of QuitUser inside FlushWriteBuffer() (potentially *UNSAFE*), go back to using SetWriteError(),
but to ensure we dont get a cascade of bad write events from the socket engine, QuitUser the user before
returning in userrec::HandleEvent, after we can gaurantee ALL other reading or writing is done.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5987
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 14 Dec 2006 17:46:47 +0000 (17:46 +0000)]
Refactor userrec::chans.
Old way: A vector of ucrec, MAXCHANS in size by default populated by NULLS, so you have to scan the vector to find an empty slot when joining a user, parting a user etc
New way: std::map<chanrec*, char> (the char holds their basic core permissions on the channel [voice, halfop, op])
This increases speed a ton, and removes some wtf-age.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5986
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 14 Dec 2006 16:57:52 +0000 (16:57 +0000)]
Refactoring:
1) Chain together a resize and an append, to improve the buffer read efficiency
2) eliminate a const char* pointer by doing it purely with string, saving a data copy
3) use iterators rather than ints and vector::size() for spooling motd and rules files to users
4) change a usage of !length() to empty() to make it more readable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5985
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 13 Dec 2006 22:48:55 +0000 (22:48 +0000)]
Fix m_watch to properly use OnCleanup, and to delete pointer on quit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5984
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 13 Dec 2006 21:29:34 +0000 (21:29 +0000)]
Fix configure stuff AGAIN.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5983
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 13 Dec 2006 20:35:54 +0000 (20:35 +0000)]
On now-ancient freebsd 5.2.1, fix the compile by forcing the $(CC) var down the line into src/modes/Makefile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5982
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 13 Dec 2006 20:24:19 +0000 (20:24 +0000)]
Comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5981
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 13 Dec 2006 20:08:45 +0000 (20:08 +0000)]
Turn watchlist back to map. watchlist is small, watchentries is large, only watchentries needs to be hash_map
(watchentries is the primary index of whos watching each nick, watchlist is the small nicklist attached to each user)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5980
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 13 Dec 2006 20:07:08 +0000 (20:07 +0000)]
Change m_watch to use hash_map rather than map, because of the large number of entries we deal with it will usually be faster
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5979
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 13 Dec 2006 20:00:33 +0000 (20:00 +0000)]
Improve the way 005 ISUPPORT is sent to users when they connect, cache it in a much more sane format which is much simpler to spool to them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5978
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 13 Dec 2006 19:38:12 +0000 (19:38 +0000)]
Properly fix 'changed nickname from one thats on your notify to one thats not' condition.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5977
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 13 Dec 2006 19:29:56 +0000 (19:29 +0000)]
Whoops, one too many params
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5976
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 13 Dec 2006 19:27:58 +0000 (19:27 +0000)]
Fix /nick signoff message
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5975
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 13 Dec 2006 19:25:44 +0000 (19:25 +0000)]
More to fix.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5974
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 13 Dec 2006 19:22:09 +0000 (19:22 +0000)]
Make this behave more like other WATCH implementations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5973
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 13 Dec 2006 19:17:35 +0000 (19:17 +0000)]
Fix quite a few whoopsies
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5972
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 13 Dec 2006 18:54:38 +0000 (18:54 +0000)]
Untested! New m_watch that should be hundreds of times faster (im not joking either)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5971
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 12 Dec 2006 23:31:13 +0000 (23:31 +0000)]
Avoid pointless vsnprintf() when our loglevel doesnt meet requirements
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5970
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 12 Dec 2006 23:27:55 +0000 (23:27 +0000)]
Remove unused debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5969
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 12 Dec 2006 23:21:51 +0000 (23:21 +0000)]
Improve how we handle ELINEs on connect, turn O(2n) into O(n) (thats the best we can do with g/k/z/q checks for now :( )
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5968
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 12 Dec 2006 22:51:38 +0000 (22:51 +0000)]
New clone counting mechanism (this isnt tested yet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5967
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 12 Dec 2006 20:57:04 +0000 (20:57 +0000)]
Make FounderProtectBase::remove_own_privs a reference, so we can change it on the fly without needing to re-construct the objects
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5966
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 12 Dec 2006 20:54:49 +0000 (20:54 +0000)]
Someone forgot to do founder too :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5965
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 12 Dec 2006 20:35:56 +0000 (20:35 +0000)]
Make the world not end when special commits (this will probably break)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5964
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Tue, 12 Dec 2006 20:31:27 +0000 (20:31 +0000)]
Fixed a pretty nasty bug that allowed users to +a themselves if deprotectself was enabled (thanks webs)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5963
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Tue, 12 Dec 2006 17:36:40 +0000 (17:36 +0000)]
Reverted om's commit so we can keep laughing at him for never doing anything
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5962
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Tue, 12 Dec 2006 17:35:18 +0000 (17:35 +0000)]
I yell 'LIES' in the face of anyone who says I don't commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5961
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 12 Dec 2006 17:33:48 +0000 (17:33 +0000)]
AnMaster thinks im not committing enough, so heres a pointless commit for him.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5960
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 12 Dec 2006 00:22:09 +0000 (00:22 +0000)]
More comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5959
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 12 Dec 2006 00:17:36 +0000 (00:17 +0000)]
Fix trivial broken stat counter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5958
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 12 Dec 2006 00:03:53 +0000 (00:03 +0000)]
Whoops, forgot to unpublish the interface!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5957
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 23:56:22 +0000 (23:56 +0000)]
irc::string assign(std::string&)
std::string assign(irc::string&)
soooo:
irc::string foo = assign(my_std_string);
:p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5956
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 23:42:20 +0000 (23:42 +0000)]
Just comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5955
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 23:31:25 +0000 (23:31 +0000)]
Tidy up a loop a bit so it isnt for(;;) with a break
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5954
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 23:15:49 +0000 (23:15 +0000)]
And fix the typos in it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5953
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 23:15:18 +0000 (23:15 +0000)]
Attempt another speedup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5952
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 23:09:55 +0000 (23:09 +0000)]
Fix kinda stupid whoopsie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5951
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 23:04:33 +0000 (23:04 +0000)]
Faster, stronger, ...err no, not the million dollar man.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5950
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 23:02:51 +0000 (23:02 +0000)]
Change how assembling of multiple lines works, avoid data copies
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5949
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Mon, 11 Dec 2006 22:47:25 +0000 (22:47 +0000)]
Fixed a typo in select
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5948
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 22:20:03 +0000 (22:20 +0000)]
Fix EOF conditions on inspsockets which are having their write() handled by modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5947
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 22:18:21 +0000 (22:18 +0000)]
Better handling of write() failure, but this might still not be exactly right.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5946
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 22:11:06 +0000 (22:11 +0000)]
This is better now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5945
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 11 Dec 2006 21:42:27 +0000 (21:42 +0000)]
Initial commit of m_dnsbl, v2.0 - based on satmd's 1.0 m_dnsbl, modified to work with 1.1 (and hopefully work a bit faster. Removed tag option, as it doesn't broadcast to multiple servers, leaks memory, and is largely useless.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5944
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 21:40:25 +0000 (21:40 +0000)]
Someone forgot to add the copyright headers here :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5943
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 21:35:34 +0000 (21:35 +0000)]
And give it error checking... whoops.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5942
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 21:33:11 +0000 (21:33 +0000)]
Pinch simple output buffering from m_ssl_openssl
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5941
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 21:24:15 +0000 (21:24 +0000)]
Tidyup comments and debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5940
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 20:55:59 +0000 (20:55 +0000)]
Finally got read buffering working properly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5939
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 20:18:26 +0000 (20:18 +0000)]
*annoyance*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5938
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 20:16:24 +0000 (20:16 +0000)]
Damnit damnit damnit!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5937
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 20:05:50 +0000 (20:05 +0000)]
This should do it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5936
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 20:00:58 +0000 (20:00 +0000)]
Rethink
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5935
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 19:50:41 +0000 (19:50 +0000)]
Grr.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5934
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 19:44:57 +0000 (19:44 +0000)]
More tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5933
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 19:42:47 +0000 (19:42 +0000)]
Increase CHUNK
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5932
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 19:35:04 +0000 (19:35 +0000)]
more stuff :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5931
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 19:29:40 +0000 (19:29 +0000)]
Test
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5930
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 19:24:20 +0000 (19:24 +0000)]
More crap
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5929
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 19:14:16 +0000 (19:14 +0000)]
Tons of debug, dont use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5928
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 19:06:27 +0000 (19:06 +0000)]
Debug stuff, and some minor fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5927
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 11 Dec 2006 18:23:15 +0000 (18:23 +0000)]
Untested, new clever pointer voodoo class for binary-safe ziplinks output buffers
PLUS: Fix for random epoll dispatchevents crashes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5926
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 11 Dec 2006 01:12:14 +0000 (01:12 +0000)]
Fix case insensitive compare (operator ==) between irc::string and std::string and vice versa
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5925
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 10 Dec 2006 22:17:51 +0000 (22:17 +0000)]
Add InspIRCd::UseInterface and InspIRCd::DoneWithInterface, and also InspIRCd::GetInterfaceUseCount().
These can be used for one module to lock other modules in memory that it depends on, this way they can
enforce an unload order so that you cant (for example) unload m_ssl_gnutls.so whilst m_spanningtree.so
is using it for ssl server to server sessions (in this case, youd have to unload spanningtree first,
THEN ssl_gnutls, to satisfy the dependencies and unload orders)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5924
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 10 Dec 2006 20:29:14 +0000 (20:29 +0000)]
Change this to prepend its lines to stats z which already shows misc stats
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5923
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 10 Dec 2006 20:24:48 +0000 (20:24 +0000)]
Add very funky stats C (compression statistics) for people using m_ziplinks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5922
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 10 Dec 2006 20:11:46 +0000 (20:11 +0000)]
Record compression ratio stats for a /stats char (this isnt finished yet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5921
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 10 Dec 2006 19:49:49 +0000 (19:49 +0000)]
Correctly handle write events
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5920
e03df62e -2008-0410-955e-
edbf42e46eb7