]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoSlightly decraqed configure
brain [Sun, 14 Jan 2007 16:46:24 +0000 (16:46 +0000)]
Slightly decraqed configure

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

17 years agoOMG SQLITE3 support, almost there now =)
peavey [Sun, 14 Jan 2007 16:45:51 +0000 (16:45 +0000)]
OMG SQLITE3 support, almost there now =)

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

17 years agoStarting tidying up the configure script, and moving a lot of stuff into functions...
brain [Sun, 14 Jan 2007 16:26:30 +0000 (16:26 +0000)]
Starting tidying up the configure script, and moving a lot of stuff into functions in the make/ dir

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

17 years agoAdd alias:matchcase config setting (per-alias, determines wether to match case on...
brain [Sun, 14 Jan 2007 13:30:43 +0000 (13:30 +0000)]
Add alias:matchcase config setting (per-alias, determines wether to match case on format string) and ability for case sensitive match()

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

17 years agoMake m_sqlv2.h::SQLquery extend 'classbase', for easy passing as deque parameter.
peavey [Sun, 14 Jan 2007 13:26:22 +0000 (13:26 +0000)]
Make m_sqlv2.h::SQLquery extend 'classbase', for easy passing as deque parameter.

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

17 years agoAllow aliasing of anything to anything, removing the need for tons of non-programmer...
brain [Sun, 14 Jan 2007 13:11:57 +0000 (13:11 +0000)]
Allow aliasing of anything to anything, removing the need for tons of non-programmer tweaks to be modules.
Also speed up matching of aliases by storing a map so we dont need to loop if we dont have an alias that looks like the current command
(when allowing aliasing of ANYTHING this is required otherwise this module would be major cpu suck)

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

17 years agoFix broken ./configure macros broken by introduction of an eval
brain [Sun, 14 Jan 2007 02:19:27 +0000 (02:19 +0000)]
Fix broken ./configure macros broken by introduction of an eval

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

17 years agoBang! Gone due to new buildsystem.
peavey [Sun, 14 Jan 2007 01:00:01 +0000 (01:00 +0000)]
Bang! Gone due to new buildsystem.

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

17 years agoOutput which module is executing the macro
brain [Sun, 14 Jan 2007 00:54:04 +0000 (00:54 +0000)]
Output which module is executing the macro

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

17 years agoFormatting glitch
brain [Sun, 14 Jan 2007 00:49:16 +0000 (00:49 +0000)]
Formatting glitch

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

17 years agoImproved detail in configure, and two new functions exec() and eval() are more accoun...
brain [Sun, 14 Jan 2007 00:48:22 +0000 (00:48 +0000)]
Improved detail in configure, and two new functions exec() and eval() are more accountable

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

17 years agoAdd eval() and exec() macros, that evaluate perl and execute commands at configure...
brain [Sun, 14 Jan 2007 00:39:29 +0000 (00:39 +0000)]
Add eval() and exec() macros, that evaluate perl and execute commands at configure time, rather than delaying them with backticks till compile time. This picks up any errors sooner.

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

17 years agoTake out unneccessary chomp()
brain [Sun, 14 Jan 2007 00:15:28 +0000 (00:15 +0000)]
Take out unneccessary chomp()

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

17 years agoMake the rpath() macro handle lines with multiple -L in them
brain [Sun, 14 Jan 2007 00:15:09 +0000 (00:15 +0000)]
Make the rpath() macro handle lines with multiple -L in them

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

17 years agoOutput for 'using defaults' when nothing of interest found
brain [Sun, 14 Jan 2007 00:03:50 +0000 (00:03 +0000)]
Output for 'using defaults' when nothing of interest found

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

17 years agoColour coding, tidying, and more verbose output to configure
brain [Sat, 13 Jan 2007 23:58:51 +0000 (23:58 +0000)]
Colour coding, tidying, and more verbose output to configure

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

17 years agoExtra stuff to improve buildsystem, calculate lib and include dirs at configure time...
brain [Sat, 13 Jan 2007 23:53:08 +0000 (23:53 +0000)]
Extra stuff to improve buildsystem, calculate lib and include dirs at configure time rather than at build time. This means that we can also throw errors at configure time if we cant find the libraries,
rather than erroring at buildtime like we used to.

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

17 years agoTidy up the buildsystem a lot by encapsulating repeated detection routines for lib...
brain [Sat, 13 Jan 2007 23:29:40 +0000 (23:29 +0000)]
Tidy up the buildsystem a lot by encapsulating repeated detection routines for lib dirs and header dirs in make/utilities.pm.
See the pl files in src/modules/extra for how to use the functions.

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

17 years agoGet flags for sqlite3.
peavey [Sat, 13 Jan 2007 23:07:14 +0000 (23:07 +0000)]
Get flags for sqlite3.

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

17 years agoChange this to use our md5 provider rather than MD5() in the query
brain [Sat, 13 Jan 2007 22:40:30 +0000 (22:40 +0000)]
Change this to use our md5 provider rather than MD5() in the query

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

17 years agoTest fix for breakage with IPv6
om [Sat, 13 Jan 2007 10:07:05 +0000 (10:07 +0000)]
Test fix for breakage with IPv6

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

17 years agoImprove handling of backend server being down. Also decraq some debug output that...
peavey [Fri, 12 Jan 2007 05:19:50 +0000 (05:19 +0000)]
Improve handling of backend server being down. Also decraq some debug output that was really confusing me.

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

17 years agoUpdate inline documentation for DelFd() so the doxygen docs will be correct.
peavey [Fri, 12 Jan 2007 00:35:19 +0000 (00:35 +0000)]
Update inline documentation for DelFd() so the doxygen docs will be correct.

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

17 years agoAnyway the reason for this discussion - i wanted to do a test commit :p (insert a...
brain [Thu, 11 Jan 2007 21:09:01 +0000 (21:09 +0000)]
Anyway the reason for this discussion - i wanted to do a test commit :p (insert a blank line here for it)

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

17 years agoQuick tweak before work, set the default force=false in these (im not keen on 'force...
brain [Thu, 11 Jan 2007 06:20:06 +0000 (06:20 +0000)]
Quick tweak before work, set the default force=false in these (im not keen on 'force' at all, its major ugly hax, but *shrug* :( how does it even know we're
using epoll or kqueue etc???)

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

17 years agoMore tidyup.
peavey [Thu, 11 Jan 2007 04:49:22 +0000 (04:49 +0000)]
More tidyup.

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

17 years agoOnly use force if necessary! Tidy up debug output.
peavey [Thu, 11 Jan 2007 04:39:51 +0000 (04:39 +0000)]
Only use force if necessary! Tidy up debug output.

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

17 years agopgsql should now work thx to added posibility to force a fd out of the socketengine...
peavey [Thu, 11 Jan 2007 04:24:37 +0000 (04:24 +0000)]
pgsql should now work thx to added posibility to force a fd out of the socketengine. This should only be used as a *last resort* when dealing with 3rd party libs that invalidates a file descriptor beyond your control.

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

17 years agoCloser now, but somehow libpq invalidates the file descriptor on server shutdown...
peavey [Thu, 11 Jan 2007 03:34:22 +0000 (03:34 +0000)]
Closer now, but somehow libpq invalidates the file descriptor on server shutdown leaving us in limbo.

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

17 years agoreconnects still broken, but getting there.
peavey [Wed, 10 Jan 2007 23:33:17 +0000 (23:33 +0000)]
reconnects still broken, but getting there.

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

17 years agoSQLConn rewritten to use EventHandler instead of InspSocket. This is much neater...
peavey [Wed, 10 Jan 2007 21:00:37 +0000 (21:00 +0000)]
SQLConn rewritten to use EventHandler instead of InspSocket. This is much neater and gives total control of destroy and delete of resources.

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

17 years agoIf we have a bitmask of 0 in apply_lines, dont even bother to run the function!
brain [Wed, 10 Jan 2007 17:54:43 +0000 (17:54 +0000)]
If we have a bitmask of 0 in apply_lines, dont even bother to run the function!

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

17 years agoAlso, if the line already existed, dont OR the value in, so that if all the say,...
brain [Wed, 10 Jan 2007 17:47:39 +0000 (17:47 +0000)]
Also, if the line already existed, dont OR the value in, so that if all the say, glines we receive already exist, dont bother to apply glines :)

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

17 years agoClever stuff for applying lines (this needs testing);
brain [Wed, 10 Jan 2007 17:46:38 +0000 (17:46 +0000)]
Clever stuff for applying lines (this needs testing);
When bursting, we clear a bitmask to 0.
When we receive glines etc, we OR bits in the bitmask to values of APPLY_GLINES, APPLY_KLINES etc depending on what we've received, e.g. is it ADDLINE G, or ADDLINE K.
When we ENDBURST at the end of the burst, pass the bitmask to apply_lines, rather than APPLY_ALL :)
NOTE: While not bursting, the bitmask is flushed after each gline, but this is still faster as only the line type we just added will be ORed in.

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

17 years agoOnly send snotice if the eline doesnt exist yet
brain [Wed, 10 Jan 2007 17:36:05 +0000 (17:36 +0000)]
Only send snotice if the eline doesnt exist yet

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

17 years agoImprove speed of these, and only send out snotice if the gline doesnt already exist
brain [Wed, 10 Jan 2007 17:34:57 +0000 (17:34 +0000)]
Improve speed of these, and only send out snotice if the gline doesnt already exist

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

17 years agoTypo
peavey [Wed, 10 Jan 2007 00:57:35 +0000 (00:57 +0000)]
Typo

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

17 years agoChange stats z to show volountary and involountary seperately
brain [Wed, 10 Jan 2007 00:16:06 +0000 (00:16 +0000)]
Change stats z to show volountary and involountary seperately

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

17 years agoComment on a lot of recently added stuff that wasnt properly documented (until now)
brain [Tue, 9 Jan 2007 22:31:19 +0000 (22:31 +0000)]
Comment on a lot of recently added stuff that wasnt properly documented (until now)

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

17 years agoSomeone forgot to make correct deps for timer.h. Fixed.
brain [Tue, 9 Jan 2007 19:15:30 +0000 (19:15 +0000)]
Someone forgot to make correct deps for timer.h. Fixed.
Added InspTimer::CancelRepeat(), we can use this within the Tick method to cancel a repeat so that the timer is deleted after the tick, as DelTimer isnt safe within the Tick method

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

17 years agoAdd a call to InvalidateCache() to fix this:
brain [Tue, 9 Jan 2007 17:21:26 +0000 (17:21 +0000)]
Add a call to InvalidateCache() to fix this:
[04:48] --- peavey is now known as PEAVEY
[04:48] --- peavey is now known as peavey
Second line should be PEAVEY -> peavey

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

17 years agoMade the real name value for /admin optional (line isn't displayed if not specified)
special [Tue, 9 Jan 2007 13:43:12 +0000 (13:43 +0000)]
Made the real name value for /admin optional (line isn't displayed if not specified)

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

17 years agoWhoever added clearcache must have been asleep; they left the definition of it as...
special [Tue, 9 Jan 2007 13:39:47 +0000 (13:39 +0000)]
Whoever added clearcache must have been asleep; they left the definition of it as cmd_admin::Handle

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

17 years agoMade m_denychans support wildcards
special [Tue, 9 Jan 2007 13:21:17 +0000 (13:21 +0000)]
Made m_denychans support wildcards

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

17 years agoHave ConvNumeric correctly convert 0 to 0 instead of an empty string.
peavey [Tue, 9 Jan 2007 04:15:10 +0000 (04:15 +0000)]
Have ConvNumeric correctly convert 0 to 0 instead of an empty string.

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

17 years agoRevert repeat timer to old one, to make sure it only runs if list was actually being...
peavey [Tue, 9 Jan 2007 02:58:43 +0000 (02:58 +0000)]
Revert repeat timer to old one, to make sure it only runs if list was actually being called by a user.

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

17 years agoAdd specialization for ConvToStr on a single char, return std::string(in,1) :p
brain [Tue, 9 Jan 2007 02:09:36 +0000 (02:09 +0000)]
Add specialization for ConvToStr on a single char, return std::string(in,1) :p

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

17 years agoThis is better, and proved working
brain [Tue, 9 Jan 2007 02:05:01 +0000 (02:05 +0000)]
This is better, and proved working

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

17 years agoThis is a bit better
brain [Tue, 9 Jan 2007 01:36:51 +0000 (01:36 +0000)]
This is a bit better

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

17 years agoOverloaded template classes for mucho improved ConvToStr speed
brain [Tue, 9 Jan 2007 01:30:51 +0000 (01:30 +0000)]
Overloaded template classes for mucho improved ConvToStr speed

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

17 years agoTimeSyncTimer now uses repeat timer.
peavey [Tue, 9 Jan 2007 01:21:47 +0000 (01:21 +0000)]
TimeSyncTimer now uses repeat timer.

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

17 years agoAssigning a std::string var initially to "" is pointless.
brain [Tue, 9 Jan 2007 01:14:39 +0000 (01:14 +0000)]
Assigning a std::string var initially to "" is pointless.

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

17 years agoMake safelist use repeat timer.
peavey [Tue, 9 Jan 2007 01:12:14 +0000 (01:12 +0000)]
Make safelist use repeat timer.

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

17 years agoTidy up (optimize, improve) chanrec::WriteChannelWithServ
brain [Tue, 9 Jan 2007 00:49:40 +0000 (00:49 +0000)]
Tidy up (optimize, improve) chanrec::WriteChannelWithServ

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

17 years agoTidy up an if/then/else chain into a switch
brain [Tue, 9 Jan 2007 00:31:52 +0000 (00:31 +0000)]
Tidy up an if/then/else chain into a switch

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

17 years agoCache channel max bans value to save an O(n) loop of match() on every ban (etc) add
brain [Tue, 9 Jan 2007 00:25:18 +0000 (00:25 +0000)]
Cache channel max bans value to save an O(n) loop of match() on every ban (etc) add

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

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