]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agocmd_whowas now uses the shiny new repeating timer.
peavey [Mon, 8 Jan 2007 19:58:16 +0000 (19:58 +0000)]
cmd_whowas now uses the shiny new repeating timer.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6266 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTweaks to mode parser
brain [Mon, 8 Jan 2007 19:13:48 +0000 (19:13 +0000)]
Tweaks to mode parser

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6265 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd repeating timers, and make an hourly prune of the dns cache, otherwise a cache...
brain [Mon, 8 Jan 2007 18:42:13 +0000 (18:42 +0000)]
Add repeating timers, and make an hourly prune of the dns cache, otherwise a cache entry might not be cleared until a user with that ip comes back!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6264 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago user->WriteServ( "371 %s :. o O ( The Inspire Internet Relay Chat Server...
brain [Mon, 8 Jan 2007 17:07:08 +0000 (17:07 +0000)]
    user->WriteServ( "371 %s :. o O ( The Inspire Internet Relay Chat Server  ) O o .", user->nick);
        user->WriteServ( "371 %s :      ( Putting the ricer into ircer since 2007 )", user->nick);

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6263 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSomeone forgot to add clearcache to the makefile install (thanks AnMaster)
special [Mon, 8 Jan 2007 10:37:57 +0000 (10:37 +0000)]
Someone forgot to add clearcache to the makefile install (thanks AnMaster)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6262 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agogetpidfile was not working at all. Fix it to work as intended.
peavey [Mon, 8 Jan 2007 04:13:23 +0000 (04:13 +0000)]
getpidfile was not working at all. Fix it to work as intended.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6261 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove whowas containers into whowas class to avoid all cpp files including cmd_whowas...
peavey [Mon, 8 Jan 2007 04:07:04 +0000 (04:07 +0000)]
Move whowas containers into whowas class to avoid all cpp files including cmd_whowas.h to try and destroy the containers on fork exit.\nThis would cause a segfault when forking due to the containers destroy being called multiple times, but still allow the server to fork it's child and leave the server running.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6260 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd /CLEARCACHE, oper only command which completely purges the DNS cache -- useful...
brain [Mon, 8 Jan 2007 00:18:52 +0000 (00:18 +0000)]
Add /CLEARCACHE, oper only command which completely purges the DNS cache -- useful if you just want to cut down on ram use at any point.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6259 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNow even less leakage on add.
peavey [Mon, 8 Jan 2007 00:10:19 +0000 (00:10 +0000)]
Now even less leakage on add.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6258 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoOh, this tweak is for w00t -- rehash will remove expired items from the dns cache
brain [Mon, 8 Jan 2007 00:05:55 +0000 (00:05 +0000)]
Oh, this tweak is for w00t -- rehash will remove expired items from the dns cache

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6257 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdate a comment, and touch a header just to make people rebuild stuff >:)
brain [Sun, 7 Jan 2007 22:36:42 +0000 (22:36 +0000)]
Update a comment, and touch a header just to make people rebuild stuff >:)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6256 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoIf the result is cached, dont bother waiting for the dns timeout, release them at...
brain [Sun, 7 Jan 2007 22:11:18 +0000 (22:11 +0000)]
If the result is cached, dont bother waiting for the dns timeout, release them at the next timer tick if all modules are satisfied

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6255 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument dns caching, add a "bool cached" to OnLookupComplete method in Resolver...
brain [Sun, 7 Jan 2007 22:01:00 +0000 (22:01 +0000)]
Document dns caching, add a "bool cached" to OnLookupComplete method in Resolver, and and add " -- cached" to end of 'looking up your host' string if their result is a cached result

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6254 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd its all done and working!
brain [Sun, 7 Jan 2007 21:37:06 +0000 (21:37 +0000)]
And its all done and working!
(note, we still need to test cache expiry)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6253 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDNS caching stuff (almost done)
brain [Sun, 7 Jan 2007 21:35:25 +0000 (21:35 +0000)]
DNS caching stuff (almost done)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6252 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidy up old MaintainWhoWas.
peavey [Sun, 7 Jan 2007 21:17:41 +0000 (21:17 +0000)]
Tidy up old MaintainWhoWas.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6251 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDNS Stuff - this wont work right yet, it will soon (tm)
brain [Sun, 7 Jan 2007 21:16:03 +0000 (21:16 +0000)]
DNS Stuff - this wont work right yet, it will soon (tm)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6250 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove all /WHOWAS related out of core and into cmd_whowas.
peavey [Sun, 7 Jan 2007 21:14:17 +0000 (21:14 +0000)]
Move all /WHOWAS related out of core and into cmd_whowas.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6249 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix m_testcommand which tries to use an undefined pointer as ServerInstance
brain [Sun, 7 Jan 2007 20:08:49 +0000 (20:08 +0000)]
Fix m_testcommand which tries to use an undefined pointer as ServerInstance

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6248 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd TTL stuff to dns system (pass it to inherited objects)
brain [Sun, 7 Jan 2007 20:01:11 +0000 (20:01 +0000)]
Add TTL stuff to dns system (pass it to inherited objects)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6247 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRename all the classes in m_httpd to be HttpServer etc,
brain [Sun, 7 Jan 2007 17:27:11 +0000 (17:27 +0000)]
Rename all the classes in m_httpd to be HttpServer etc,
Make a copy of the request in the http client so we dont need to leave pointers hanging around in the requestor module

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6246 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake this use the newer format of class Request (this module was still using the...
brain [Sun, 7 Jan 2007 17:16:30 +0000 (17:16 +0000)]
Make this use the newer format of class Request (this module was still using the old cast-data-to-char*-and-use-getdata-method)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6245 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake this compile.
peavey [Sun, 7 Jan 2007 16:47:28 +0000 (16:47 +0000)]
Make this compile.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6244 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdded m_http_client - this is incomplete and won't work at all, don't try to use it
special [Sun, 7 Jan 2007 03:50:18 +0000 (03:50 +0000)]
Added m_http_client - this is incomplete and won't work at all, don't try to use it

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6243 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdding CIDR support to m_check: as easy as adding a 'true' to match()
brain [Sun, 7 Jan 2007 03:04:24 +0000 (03:04 +0000)]
Adding CIDR support to m_check: as easy as adding a 'true' to match()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6242 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoadd internal cmdhandler that will make it easy to move stuff out of core and into...
peavey [Sun, 7 Jan 2007 01:24:44 +0000 (01:24 +0000)]
add internal cmdhandler that will make it easy to move stuff out of core and into a reloadable command.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6241 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhoops
brain [Sat, 6 Jan 2007 23:15:54 +0000 (23:15 +0000)]
Whoops

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6240 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDont try and show idle time of remote opers in STATS P
brain [Sat, 6 Jan 2007 23:08:59 +0000 (23:08 +0000)]
Dont try and show idle time of remote opers in STATS P

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6239 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix remote opers not being added to all_opers.
peavey [Sat, 6 Jan 2007 22:57:40 +0000 (22:57 +0000)]
Fix remote opers not being added to all_opers.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6238 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix modecount on remote NICK
w00t [Sat, 6 Jan 2007 21:24:57 +0000 (21:24 +0000)]
Fix modecount on remote NICK

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6237 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix SVSJOIN desync (nothing too severe, don't panic) noticed on CS, found by me/Brain :p
w00t [Sat, 6 Jan 2007 18:44:39 +0000 (18:44 +0000)]
Fix SVSJOIN desync (nothing too severe, don't panic) noticed on CS, found by me/Brain :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6236 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoExtra check so that we dont get -O-s when doing:
brain [Sat, 6 Jan 2007 17:20:45 +0000 (17:20 +0000)]
Extra check so that we dont get -O-s when doing:
MODE #chan +Osnt
MODE #chan -O+n-s
(the +n would get dropped, but the - and the s get put in the mode sequence)
To fix, we store the last *successful* state change, as well as the last attempted state change.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6235 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for bug #186 reported by peavey
brain [Sat, 6 Jan 2007 17:10:36 +0000 (17:10 +0000)]
Fix for bug #186 reported by peavey

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6234 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix minor NICK / modes issue that goes against our public spec, and crashes denora...
w00t [Sat, 6 Jan 2007 16:45:00 +0000 (16:45 +0000)]
Fix minor NICK / modes issue that goes against our public spec, and crashes denora when introducing clients from a remote server

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6233 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix desync with halfop and voice when opped (this happens because we were ORing the...
brain [Sat, 6 Jan 2007 16:15:35 +0000 (16:15 +0000)]
Fix desync with halfop and voice when opped (this happens because we were ORing the wrong value in chanrec::ForceChan)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6232 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago*slaps self* for not test compiling
brain [Sat, 6 Jan 2007 15:39:05 +0000 (15:39 +0000)]
*slaps self* for not test compiling

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6231 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix crash when unloading ssl module on shutdown -- there are no port objects to set...
brain [Sat, 6 Jan 2007 15:35:05 +0000 (15:35 +0000)]
Fix crash when unloading ssl module on shutdown -- there are no port objects to set the description back to 'plaintext' on, here.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6230 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTry this AnMaster
brain [Sat, 6 Jan 2007 15:28:54 +0000 (15:28 +0000)]
Try this AnMaster

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6229 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix oper count, we cant decrement ModeCount('o') from the userrec destructor as its...
brain [Sat, 6 Jan 2007 15:24:50 +0000 (15:24 +0000)]
Fix oper count, we cant decrement ModeCount('o') from the userrec destructor as its already been removed earlier

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6228 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRepeat after me class, deleting values that arent newed isnt good for your health
brain [Sat, 6 Jan 2007 15:14:04 +0000 (15:14 +0000)]
Repeat after me class, deleting values that arent newed isnt good for your health

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6227 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRun ./configure -modupdate to fix "make install" error. INSTMODE doesnt seem to be...
brain [Thu, 4 Jan 2007 23:54:41 +0000 (23:54 +0000)]
Run ./configure -modupdate to fix "make install" error. INSTMODE doesnt seem to be inherited by src/modules/Makefile unless its passed in MAKEARGS

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6226 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMerge buildsystem tweaks from darix:
brain [Thu, 4 Jan 2007 21:32:53 +0000 (21:32 +0000)]
Merge buildsystem tweaks from darix:
$ patch <inspircd-1.1b8_build_system.patch
$ patch <inspircd-1.1b8_mod_permissions.patch
Thanks :-)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6225 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd fix this bit too
brain [Thu, 4 Jan 2007 18:54:13 +0000 (18:54 +0000)]
And fix this bit too

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6224 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMassive speedups for applying and checking perm xlines - matches_*line() now has...
brain [Thu, 4 Jan 2007 18:53:31 +0000 (18:53 +0000)]
Massive speedups for applying and checking perm xlines - matches_*line() now has a permonly optional param, and apply_lines can be passed an APPLY_LOCAL_ONLY.
Also, improve speed of config reading stuff when reading in the lines

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6223 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoBeta 9 RELEASE .... *cough* just kidding, i mean beta 9 SVN track :p
brain [Wed, 3 Jan 2007 22:37:01 +0000 (22:37 +0000)]
Beta 9 RELEASE .... *cough* just kidding, i mean beta 9 SVN track :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6222 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago1.1.0+B8-Hamster!
brain [Wed, 3 Jan 2007 21:58:39 +0000 (21:58 +0000)]
1.1.0+B8-Hamster!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6220 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix lusers breakage introduced by latest set of optimizations
brain [Wed, 3 Jan 2007 20:58:21 +0000 (20:58 +0000)]
Fix lusers breakage introduced by latest set of optimizations

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6219 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSirOlli gets credit for this fix, because he was the only one willing to work with...
brain [Wed, 3 Jan 2007 18:03:08 +0000 (18:03 +0000)]
SirOlli gets credit for this fix, because he was the only one willing to work with us till we cracked it :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6218 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for crash in desync of whowas lists on rehash. Also less mem leakage on adding...
peavey [Tue, 2 Jan 2007 20:22:23 +0000 (20:22 +0000)]
Fix for crash in desync of whowas lists on rehash. Also less mem leakage on adding to whowas.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6217 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove a TODO comment. Also added support for <database:port> option since r6213...
peavey [Tue, 2 Jan 2007 05:55:28 +0000 (05:55 +0000)]
Remove a TODO comment. Also added support for <database:port> option since r6213 so we can now connect to other ports than the standard mysql 3306 port.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6216 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agom_mysql can now do REHASH proper. Detects any changes made to config and loads/remove...
peavey [Tue, 2 Jan 2007 05:51:05 +0000 (05:51 +0000)]
m_mysql can now do REHASH proper. Detects any changes made to config and loads/removes as needed.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6215 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix: If sql user and pass matched, but not operclass or host, conf based command...
peavey [Tue, 2 Jan 2007 05:15:34 +0000 (05:15 +0000)]
Fix: If sql user and pass matched, but not operclass or host, conf based command would NOT be called and request would die quietly without notifying the user or send SNOtice of failed attempt.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6214 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAlso use SQLhost for host config.
peavey [Tue, 2 Jan 2007 04:33:37 +0000 (04:33 +0000)]
Also use SQLhost for host config.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6213 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUse SQLhost from m_sqlv2.h and tidyup some code. Plus throw less module exceptions...
peavey [Tue, 2 Jan 2007 03:04:03 +0000 (03:04 +0000)]
Use SQLhost from m_sqlv2.h and tidyup some code. Plus throw less module exceptions and warn instead.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6212 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd class SQLhost that represents a <database> config line.
peavey [Tue, 2 Jan 2007 02:59:25 +0000 (02:59 +0000)]
Add class SQLhost that represents a <database> config line.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6211 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdate cloak keys example to use hex definition of the right length
brain [Tue, 2 Jan 2007 00:40:51 +0000 (00:40 +0000)]
Update cloak keys example to use hex definition of the right length

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6210 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd support for suffixes K, M, G (kilo, mega, gigabyte) and prefix 0x (hex)
brain [Tue, 2 Jan 2007 00:38:45 +0000 (00:38 +0000)]
Add support for suffixes K, M, G (kilo, mega, gigabyte) and prefix 0x (hex)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6209 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMade 'make modclean' and 'make distclean' clean out the default lib/ install directory
special [Mon, 1 Jan 2007 23:08:13 +0000 (23:08 +0000)]
Made 'make modclean' and 'make distclean' clean out the default lib/ install directory

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6208 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix to allow for OnRehash to know what user initiated the rehash
brain [Mon, 1 Jan 2007 20:53:20 +0000 (20:53 +0000)]
Fix to allow for OnRehash to know what user initiated the rehash

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake sure that if an oper opers up and has an swhois in their opertype or oper tag...
brain [Mon, 1 Jan 2007 20:00:46 +0000 (20:00 +0000)]
Make sure that if an oper opers up and has an swhois in their opertype or oper tag, the swhois is sent out as metadata

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6206 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis should fix it on two fronts: missing Implements() value, and OnWhois doesnt...
brain [Mon, 1 Jan 2007 19:50:20 +0000 (19:50 +0000)]
This should fix it on two fronts: missing Implements() value, and OnWhois doesnt work for remote, so instead we hook OnWhoisLine

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6205 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis is it, i think
brain [Mon, 1 Jan 2007 19:44:12 +0000 (19:44 +0000)]
This is it, i think

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6204 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoBlah
brain [Mon, 1 Jan 2007 19:41:49 +0000 (19:41 +0000)]
Blah

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6203 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDebug stuff, pay it no attention
brain [Mon, 1 Jan 2007 19:41:26 +0000 (19:41 +0000)]
Debug stuff, pay it no attention

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6202 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhoops, forgot to put something back that i took out during testing!
brain [Mon, 1 Jan 2007 19:16:37 +0000 (19:16 +0000)]
Whoops, forgot to put something back that i took out during testing!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6201 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAgain, dont use this yet
brain [Mon, 1 Jan 2007 19:00:52 +0000 (19:00 +0000)]
Again, dont use this yet

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6200 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDo not use these tweaks yet
brain [Mon, 1 Jan 2007 18:56:33 +0000 (18:56 +0000)]
Do not use these tweaks yet

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6199 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix odd desync in FJOIN (this was some hax we put in, and forgot to take out)
brain [Mon, 1 Jan 2007 18:01:11 +0000 (18:01 +0000)]
Fix odd desync in FJOIN (this was some hax we put in, and forgot to take out)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6198 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix this so it works properly, and removes the descriptions on unload (when the socke...
brain [Mon, 1 Jan 2007 00:25:26 +0000 (00:25 +0000)]
Fix this so it works properly, and removes the descriptions on unload (when the sockets revert back to plaintext)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6197 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd port type identifiers
brain [Mon, 1 Jan 2007 00:16:50 +0000 (00:16 +0000)]
Add port type identifiers

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6196 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoPart 1 of my plan to take over the world. pay it no attention.
brain [Sun, 31 Dec 2006 20:24:37 +0000 (20:24 +0000)]
Part 1 of my plan to take over the world. pay it no attention.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6195 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix whoopsies
brain [Sun, 31 Dec 2006 19:19:41 +0000 (19:19 +0000)]
Fix whoopsies

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6194 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd missing feature: /rehash reinitializes dns subsytem (and can handle changed addre...
brain [Sun, 31 Dec 2006 19:17:04 +0000 (19:17 +0000)]
Add missing feature: /rehash reinitializes dns subsytem (and can handle changed addresses)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6193 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix broken LOLCODE
brain [Sun, 31 Dec 2006 13:29:46 +0000 (13:29 +0000)]
Fix broken LOLCODE

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6192 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidyup a bit, get rid of some valgrind warnings.
peavey [Sun, 31 Dec 2006 11:40:28 +0000 (11:40 +0000)]
Tidyup a bit, get rid of some valgrind warnings.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6191 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCasting for conciseness
brain [Sun, 31 Dec 2006 02:47:02 +0000 (02:47 +0000)]
Casting for conciseness

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6190 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake this new idea O(1) instead of O(x*y)
brain [Sun, 31 Dec 2006 02:45:21 +0000 (02:45 +0000)]
Make this new idea O(1) instead of O(x*y)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6189 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThanks AnMaster
brain [Sun, 31 Dec 2006 01:32:51 +0000 (01:32 +0000)]
Thanks AnMaster

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6188 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCache invalidation in the wrong place, fixes FHOST remote host change bug
brain [Sun, 31 Dec 2006 01:25:08 +0000 (01:25 +0000)]
Cache invalidation in the wrong place, fixes FHOST remote host change bug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6187 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago<hostname:charmap> defines the valid characters in a hostmask (this is for you webs...
brain [Sun, 31 Dec 2006 00:06:43 +0000 (00:06 +0000)]
<hostname:charmap> defines the valid characters in a hostmask (this is for you webs to obsolete your patch :p)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6186 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoIf a user has a QUIT message matching a KILL type filter, we cant KILL someone whos...
brain [Sat, 30 Dec 2006 22:11:13 +0000 (22:11 +0000)]
If a user has a QUIT message matching a KILL type filter, we cant KILL someone whos already quitting (what will they care) so treat it as BLOCK and filter their quit.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6185 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake filters work on PART and QUIT messages too.
brain [Sat, 30 Dec 2006 22:09:18 +0000 (22:09 +0000)]
Make filters work on PART and QUIT messages too.
NOTE: If you use the type 'block' on a PART or QUIT, the text of their part or quit message will be replaced with 'Reason filtered', as we cant block the entire line without breaking clients.
Satsifies request in bug #184

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6184 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake it safe to lose connection to sql server.
peavey [Sat, 30 Dec 2006 21:59:22 +0000 (21:59 +0000)]
Make it safe to lose connection to sql server.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6183 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoInvalidate 'late' here too
brain [Sat, 30 Dec 2006 19:52:02 +0000 (19:52 +0000)]
Invalidate 'late' here too

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6182 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix broken cloaking introduced by last commit (we need to invalidate the cache after...
brain [Sat, 30 Dec 2006 19:48:59 +0000 (19:48 +0000)]
Fix broken cloaking introduced by last commit (we need to invalidate the cache after setting the new string, not before)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6181 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove a line of debug that could crash Log.
peavey [Sat, 30 Dec 2006 19:31:46 +0000 (19:31 +0000)]
Remove a line of debug that could crash Log.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6180 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCached GetFullRealHost etc.
brain [Sat, 30 Dec 2006 19:30:53 +0000 (19:30 +0000)]
Cached GetFullRealHost etc.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6179 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis is a longshot, pls test AnnMaster.
peavey [Sat, 30 Dec 2006 18:07:20 +0000 (18:07 +0000)]
This is a longshot, pls test AnnMaster.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6178 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoProperly document support for libhamsters
brain [Sat, 30 Dec 2006 17:43:26 +0000 (17:43 +0000)]
Properly document support for libhamsters

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6177 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange delays to 1 sec.
brain [Sat, 30 Dec 2006 17:14:52 +0000 (17:14 +0000)]
Change delays to 1 sec.
NOTE: The chances of this actually waiting for 1 sec on any sizeable network are miniscule

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6176 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThe world is coming to an end!!! RUN AWAY!
brain [Sat, 30 Dec 2006 16:38:23 +0000 (16:38 +0000)]
The world is coming to an end!!! RUN AWAY!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6175 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix typo in warning, and make it sound less like the world is coming to an end.
peavey [Sat, 30 Dec 2006 16:36:59 +0000 (16:36 +0000)]
Fix typo in warning, and make it sound less like the world is coming to an end.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6174 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNow REHASH checks for same and old connections, same as the DNS resolver. So that...
peavey [Sat, 30 Dec 2006 16:29:04 +0000 (16:29 +0000)]
Now REHASH checks for same and old connections, same as the DNS resolver. So that the connections are only reset if things were changed. \o/

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6173 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTweaks to instantiate less stuff when writing to a bunch of users
brain [Sat, 30 Dec 2006 16:02:56 +0000 (16:02 +0000)]
Tweaks to instantiate less stuff when writing to a bunch of users

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6172 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTons of optimization of WriteChannel, WriteChannelWithServ, WriteCommon etc, dont...
brain [Sat, 30 Dec 2006 15:11:40 +0000 (15:11 +0000)]
Tons of optimization of WriteChannel, WriteChannelWithServ, WriteCommon etc, dont call userrec::GetFullHost or snprintf for every item, call it just once.
Turns O(n) calls for every write into O(~1) calls per write.
Remove some debug from the socketengines which makes debugging hard on large channels (write availability message)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6171 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd unregistered user counter, this may also fix the (minor) m_conn_lusers shows...
brain [Sat, 30 Dec 2006 14:34:49 +0000 (14:34 +0000)]
Add unregistered user counter, this may also fix the (minor) m_conn_lusers shows current connection as unregged

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6170 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange description for insp_aton since only a positive return means convertion was...
peavey [Sat, 30 Dec 2006 13:50:40 +0000 (13:50 +0000)]
Change description for insp_aton since only a positive return means convertion was a success.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6169 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMajorly funk around with this, still needs check for config change on REHASH.
peavey [Sat, 30 Dec 2006 12:33:55 +0000 (12:33 +0000)]
Majorly funk around with this, still needs check for config change on REHASH.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6168 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThat should make it load/unload, still needs REHASH done proper.
peavey [Sat, 30 Dec 2006 12:33:06 +0000 (12:33 +0000)]
That should make it load/unload, still needs REHASH done proper.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6167 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for w00t
brain [Fri, 29 Dec 2006 23:57:38 +0000 (23:57 +0000)]
Fix for w00t

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6166 e03df62e-2008-0410-955e-edbf42e46eb7