]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoStick Enable() in private, enhance comments
brain [Sat, 6 Sep 2008 12:29:19 +0000 (12:29 +0000)]
Stick Enable() in private, enhance comments

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

15 years agoUse lock/unlock
brain [Sat, 6 Sep 2008 12:16:19 +0000 (12:16 +0000)]
Use lock/unlock

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

15 years agouse lock/unlock instead.
peavey [Sat, 6 Sep 2008 11:53:08 +0000 (11:53 +0000)]
use lock/unlock instead.

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

15 years agoNew methods in mutex purely for readability:
brain [Sat, 6 Sep 2008 11:37:25 +0000 (11:37 +0000)]
New methods in mutex purely for readability:
        void Lock() { Enable(true); }
        void Unlock() { Enable(false); }

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

15 years agoRegexFactoryRequest sets result to null on construction, so if you direct this Reques...
brain [Sat, 6 Sep 2008 03:52:34 +0000 (03:52 +0000)]
RegexFactoryRequest sets result to null on construction, so if you direct this Request at a module which doesnt implement it, you predictibly get NULL as a result from Create() rather than a random value

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

15 years agoNow with threaded queries.
peavey [Fri, 5 Sep 2008 22:29:45 +0000 (22:29 +0000)]
Now with threaded queries.

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

15 years agoFix unsafe cast (const char * -> char *). Doesn't really matter, though, as nothing...
w00t [Fri, 5 Sep 2008 22:18:10 +0000 (22:18 +0000)]
Fix unsafe cast (const char * -> char *). Doesn't really matter, though, as nothing currently uses this code. ;p

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

15 years agoTRE regex provider (the same engine used by Unreal 3.2)
aquanight [Fri, 5 Sep 2008 20:02:02 +0000 (20:02 +0000)]
TRE regex provider (the same engine used by Unreal 3.2)

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

15 years agoPOSIX regular expression provider (basic/extended controlled by <posix extended=...
aquanight [Fri, 5 Sep 2008 19:33:49 +0000 (19:33 +0000)]
POSIX regular expression provider (basic/extended controlled by <posix extended=..>).

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

15 years agoMake it possible to retrieve the original string from a given regex object, so it...
aquanight [Fri, 5 Sep 2008 18:58:55 +0000 (18:58 +0000)]
Make it possible to retrieve the original string from a given regex object, so it can be displayed in, eg, /stats (for filter/rline for example)).

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

15 years agoAdjustments to regex creation, and add PCRE provider
aquanight [Fri, 5 Sep 2008 18:53:07 +0000 (18:53 +0000)]
Adjustments to regex creation, and add PCRE provider

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

15 years agoFramework for central regex module, and a bare-bone implementation based on InspIRCd...
aquanight [Fri, 5 Sep 2008 17:37:02 +0000 (17:37 +0000)]
Framework for central regex module, and a bare-bone implementation based on InspIRCd::Match().

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

15 years agomysql's windows build is utter hell to get working the way we wanted. The packaged...
brain [Fri, 5 Sep 2008 11:22:50 +0000 (11:22 +0000)]
mysql's windows build is utter hell to get working the way we wanted. The packaged libs provided by mysql AB are built against statically linked libraries and for vs2003. These dont work with inspircd using dynamically linked runtime and they dont work on vs2005 or 2008! Have had to roll my own MySQL on windows which was annoying as it wouldnt compile and was missing libraries and include files, we will have to bundle our own mysql dll built for the right visual studio and right runtimes. All the headers etc fixed to build in windows. Not tested with a real db connection yet, just compiles.

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

15 years agosql api and m_mysql compile fixes for windows
brain [Fri, 5 Sep 2008 08:42:41 +0000 (08:42 +0000)]
sql api and m_mysql compile fixes for windows

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

15 years agoNeeds the .lib apparently
brain [Thu, 4 Sep 2008 21:49:59 +0000 (21:49 +0000)]
Needs the .lib apparently

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

15 years agoThis would be useful, too
brain [Thu, 4 Sep 2008 21:47:30 +0000 (21:47 +0000)]
This would be useful, too

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

15 years agoOf course, it DOES help to actually initialise the Mutex objects, and delete them...
brain [Thu, 4 Sep 2008 21:43:42 +0000 (21:43 +0000)]
Of course, it DOES help to actually initialise the Mutex objects, and delete them on shutdown after the thread is gone

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

15 years agoUpdate comment
brain [Thu, 4 Sep 2008 21:40:40 +0000 (21:40 +0000)]
Update comment

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

15 years agoNow uses Mutex class. No need for pthreads use directly in this lib. Needs testing.
brain [Thu, 4 Sep 2008 21:39:24 +0000 (21:39 +0000)]
Now uses Mutex class. No need for pthreads use directly in this lib. Needs testing.

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

15 years agoThread is now a Thread derived class, now need to convert the mutexes. With the new...
brain [Thu, 4 Sep 2008 21:23:01 +0000 (21:23 +0000)]
Thread is now a Thread derived class, now need to convert the mutexes. With the new Mutex class, should be pretty easy

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

15 years agomutexengine -> mutexfactory
brain [Thu, 4 Sep 2008 11:40:20 +0000 (11:40 +0000)]
mutexengine -> mutexfactory

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

15 years agoMutexEngine -> MutexFactory, more sensible name
brain [Thu, 4 Sep 2008 11:03:58 +0000 (11:03 +0000)]
MutexEngine -> MutexFactory, more sensible name

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

15 years agoinitialise mutexengine
brain [Thu, 4 Sep 2008 10:50:53 +0000 (10:50 +0000)]
initialise mutexengine

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

15 years agoFix silly compile errors
brain [Thu, 4 Sep 2008 10:28:21 +0000 (10:28 +0000)]
Fix silly compile errors

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

15 years agofix posix mutexes
brain [Thu, 4 Sep 2008 10:24:02 +0000 (10:24 +0000)]
fix posix mutexes

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

15 years agoability to create mutexes (rather than just having one system wide mutex) in the...
brain [Thu, 4 Sep 2008 10:06:59 +0000 (10:06 +0000)]
ability to create mutexes (rather than just having one system wide mutex) in the threadengines, allows for migration of m_mysql etc.

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

15 years agofix a warning. I am on a warning zapping crusade today.
brain [Thu, 4 Sep 2008 09:31:18 +0000 (09:31 +0000)]
fix a warning. I am on a warning zapping crusade today.

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

15 years agoChange exception message: "You cannot load m_services.so and m_services_account.so...
brain [Tue, 2 Sep 2008 20:09:01 +0000 (20:09 +0000)]
Change exception message: "You cannot load m_services.so and m_services_account.so at the same time (or some other module has claimed our modes)!"y

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

15 years agoFriendly up the modules.conf comments
w00t [Tue, 2 Sep 2008 16:20:11 +0000 (16:20 +0000)]
Friendly up the modules.conf comments

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

15 years agoFix missing >, thanks Kein
w00t [Tue, 2 Sep 2008 15:37:34 +0000 (15:37 +0000)]
Fix missing >, thanks Kein

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

15 years agoThis string copy is gone now, remove fixme note
w00t [Tue, 2 Sep 2008 13:57:32 +0000 (13:57 +0000)]
This string copy is gone now, remove fixme note

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

15 years agoMake m_chanfilter grok globbing, meaning +g test?string?lol is now possible to block...
w00t [Mon, 1 Sep 2008 23:44:16 +0000 (23:44 +0000)]
Make m_chanfilter grok globbing, meaning +g test?string?lol is now possible to block a word sequence. CAVEAT: you now need to block *word* unless you're blocking a whole sentance at once. Tech note: removes a string copy, which is a Good Thing.

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

15 years agotypofix
w00t [Mon, 1 Sep 2008 20:57:01 +0000 (20:57 +0000)]
typofix

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

15 years agoAllow a choice between openssl and gnutls (or both, if you're a masochist (for it...
w00t [Mon, 1 Sep 2008 20:51:46 +0000 (20:51 +0000)]
Allow a choice between openssl and gnutls (or both, if you're a masochist (for it in action, see http://rafb.net/p/2oUb5r28.html)

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

15 years agoOutput proper error message when we cant write one of the makefiles etc
brain [Mon, 1 Sep 2008 00:59:00 +0000 (00:59 +0000)]
Output proper error message when we cant write one of the makefiles etc

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

15 years agoOmit -export-dynamic on OS X, thanks to satmd's oper
w00t [Sun, 31 Aug 2008 16:42:29 +0000 (16:42 +0000)]
Omit -export-dynamic on OS X, thanks to satmd's oper

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

15 years agoTwo fixes: Ignore + when parsing mode string in UID, and dont prepend + if we already...
brain [Sun, 31 Aug 2008 15:54:43 +0000 (15:54 +0000)]
Two fixes: Ignore + when parsing mode string in UID, and dont prepend + if we already have one, to prevent '++'

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

15 years agoMore debugging mesages for troubleshooting invalid mode sequences in UID
brain [Sun, 31 Aug 2008 14:06:04 +0000 (14:06 +0000)]
More debugging mesages for troubleshooting invalid mode sequences in UID

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

15 years agoWhoops, left off a virtual. Please ensure youre using this version if you actually...
brain [Sun, 31 Aug 2008 14:02:56 +0000 (14:02 +0000)]
Whoops, left off a virtual. Please ensure youre using this version if you actually want mode params to be propogated

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

15 years agoI guess it makes sense never to let the gecos be parsed as a mode param, even in...
brain [Sun, 31 Aug 2008 13:12:23 +0000 (13:12 +0000)]
I guess it makes sense never to let the gecos be parsed as a mode param, even in error, in case it does something stupid

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

15 years agoMove all the parameters around AGAIN. See docs shortly
brain [Sun, 31 Aug 2008 13:00:12 +0000 (13:00 +0000)]
Move all the parameters around AGAIN. See docs shortly

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

15 years agoTwo fixes: First, change the error message for too few params for UID to now match...
brain [Sun, 31 Aug 2008 11:33:11 +0000 (11:33 +0000)]
Two fixes: First, change the error message for too few params for UID to now match the correct 11 params, and change the server name in remote kill to correctly show server name rather than sid

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

15 years agoWhat the fuck am I doing.
w00t [Sun, 31 Aug 2008 02:51:34 +0000 (02:51 +0000)]
What the fuck am I doing.

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

15 years agoOff-by-one on params also == masskill, woo
w00t [Sun, 31 Aug 2008 02:40:14 +0000 (02:40 +0000)]
Off-by-one on params also == masskill, woo

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

15 years agoAdd snomasks to UID command, after 'modes', bump protocol version, as this can cause...
w00t [Sun, 31 Aug 2008 02:21:50 +0000 (02:21 +0000)]
Add snomasks to UID command, after 'modes', bump protocol version, as this can cause fun masskills if an upgraded server is introduced to older servers

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

15 years agoSave 4 bytes (assuming sizeof(ptr) == 2) per user record, storing unneeded pointers...
w00t [Sun, 31 Aug 2008 01:05:00 +0000 (01:05 +0000)]
Save 4 bytes (assuming sizeof(ptr) == 2) per user record, storing unneeded pointers (self managed class) that nothing was ever done with.

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

15 years agoRemove a redundant check, and fix user-mode change propegation. (closes bug #574)
w00t [Sun, 31 Aug 2008 00:47:30 +0000 (00:47 +0000)]
Remove a redundant check, and fix user-mode change propegation. (closes bug #574)

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

15 years agoAdd <connect:useident> as part of m_ident, original suggestion from various people...
w00t [Sun, 31 Aug 2008 00:30:04 +0000 (00:30 +0000)]
Add <connect:useident> as part of m_ident, original suggestion from various people, including satmd.

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

15 years agoMake m_alltime easier to scan read for discrepancies on larger networks
w00t [Sat, 30 Aug 2008 23:29:26 +0000 (23:29 +0000)]
Make m_alltime easier to scan read for discrepancies on larger networks

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

15 years agoTidier /modules generation. faster for non-opers, neater for all, and doesnt use...
brain [Fri, 29 Aug 2008 23:29:40 +0000 (23:29 +0000)]
Tidier /modules generation. faster for non-opers, neater for all, and doesnt use all the strlcpys on stuff that isnt needed any more

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

15 years agoMake these more descriptive/easy to grok
w00t [Fri, 29 Aug 2008 22:44:25 +0000 (22:44 +0000)]
Make these more descriptive/easy to grok

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

15 years agoSafeguards
w00t [Fri, 29 Aug 2008 21:15:07 +0000 (21:15 +0000)]
Safeguards

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

15 years agoDon't try destroy on -P of a 0 user chan, as this causes problems during netmerge...
w00t [Fri, 29 Aug 2008 21:03:41 +0000 (21:03 +0000)]
Don't try destroy on -P of a 0 user chan, as this causes problems during netmerge.. *sigh*

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

15 years agoFix extra End of /STATS on spanningtree override of stats c and n.
peavey [Fri, 29 Aug 2008 20:19:31 +0000 (20:19 +0000)]
Fix extra End of /STATS on spanningtree override of stats c and n.

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

15 years agoSome fixes for the ziplinks modules.
psychon [Fri, 29 Aug 2008 20:12:27 +0000 (20:12 +0000)]
Some fixes for the ziplinks modules.
It now uses the netbuffer size from config for its network buffers instead of
always 128k. To avoid the inbuf filling up, it doesn't read anything from the
net anymore until that buffer is empty again.

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

15 years agoRemove some old stuff
w00t [Fri, 29 Aug 2008 20:05:28 +0000 (20:05 +0000)]
Remove some old stuff

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

15 years agoI was told that a new dev's first action must be adding himself to /info, so
psychon [Fri, 29 Aug 2008 19:50:34 +0000 (19:50 +0000)]
I was told that a new dev's first action must be adding himself to /info, so
here it is.
Enjoy!

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

15 years agoRemove two unused parameters
w00t [Fri, 29 Aug 2008 17:02:30 +0000 (17:02 +0000)]
Remove two unused parameters

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

15 years agoWindows compile fixes
brain [Thu, 28 Aug 2008 20:30:32 +0000 (20:30 +0000)]
Windows compile fixes

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

15 years agoNewly revamped ziplinks module, work of psychon.. resolves (a lot) of problems with...
w00t [Thu, 28 Aug 2008 20:28:39 +0000 (20:28 +0000)]
Newly revamped ziplinks module, work of psychon.. resolves (a lot) of problems with ziplinks and large data amounts, fixes a few bugs, etc. (thanks for your work). - Yes, this missed the alpha.

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

15 years agoTuxer alpha release
brain [Thu, 28 Aug 2008 20:18:49 +0000 (20:18 +0000)]
Tuxer alpha release

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

15 years agoFix: 'Notice' vs 'NOTICE' as a command. I bet this would break some client or other...
w00t [Thu, 28 Aug 2008 19:57:17 +0000 (19:57 +0000)]
Fix: 'Notice' vs 'NOTICE' as a command. I bet this would break some client or other.. ;p. Thanks to mixx941.

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

15 years agoFix aliases stuff.
w00t [Thu, 28 Aug 2008 19:46:21 +0000 (19:46 +0000)]
Fix aliases stuff.

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

15 years agoRename lowermap to rfc_case_insensitive_map, add case_sensitive_map.. adjust files...
w00t [Thu, 28 Aug 2008 19:45:21 +0000 (19:45 +0000)]
Rename lowermap to rfc_case_insensitive_map, add case_sensitive_map.. adjust files to not pass lowermap directly.

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

15 years agoPatch modifying these modules to work on older gcc/openbsd, provided by Dagonet ...
w00t [Thu, 28 Aug 2008 19:12:49 +0000 (19:12 +0000)]
Patch modifying these modules to work on older gcc/openbsd, provided by Dagonet (CUSTOM_PRINTF() needs to be in the prototype, not the function body.

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

15 years agothis new stuff in m_ssl_gnutls is NOT in our spec! probably shouldnt be either, becau...
brain [Thu, 28 Aug 2008 15:50:43 +0000 (15:50 +0000)]
this new stuff in m_ssl_gnutls is NOT in our spec! probably shouldnt be either, because it adds confusion and its clearly documented that initialising tls is done via STARTTLS and CAP advertises it (not to mention clients are already doing it this way)

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

15 years agoMake this comply with the spec; that is - CAP may be requested after registration.
w00t [Thu, 28 Aug 2008 15:40:16 +0000 (15:40 +0000)]
Make this comply with the spec; that is - CAP may be requested after registration.

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

15 years agoAdd CAP REQ tls support, thanks to psychon
w00t [Thu, 28 Aug 2008 15:34:22 +0000 (15:34 +0000)]
Add CAP REQ tls support, thanks to psychon

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

15 years agoFix recursion crash
w00t [Wed, 27 Aug 2008 21:37:28 +0000 (21:37 +0000)]
Fix recursion crash

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

15 years agoAdd <disabled:fakenonexistant> - ircd will pretend that a disabled command just doesn...
w00t [Wed, 27 Aug 2008 20:19:26 +0000 (20:19 +0000)]
Add <disabled:fakenonexistant> - ircd will pretend that a disabled command just doesn't exist (for austnet), document <disabled:usermodes> and <disabled:chanmodes> (bad aquanight.)

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

15 years agoDon't force-finish a burst on a timer, instead, set bursted if a PONG is recieved...
w00t [Wed, 27 Aug 2008 19:47:33 +0000 (19:47 +0000)]
Don't force-finish a burst on a timer, instead, set bursted if a PONG is recieved while still bursting (obviously wrong).

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

15 years agoFix..
w00t [Wed, 27 Aug 2008 19:28:35 +0000 (19:28 +0000)]
Fix..

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

15 years agoClean up opering a tiny bit.. pave the way for SVSOPER
w00t [Wed, 27 Aug 2008 19:23:17 +0000 (19:23 +0000)]
Clean up opering a tiny bit.. pave the way for SVSOPER

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

15 years agoFix ident using uninitialised memory, forward-port of r10321. Thanks psychon.
w00t [Wed, 27 Aug 2008 19:01:12 +0000 (19:01 +0000)]
Fix ident using uninitialised memory, forward-port of r10321. Thanks psychon.

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

15 years agoUSERHOST/USERIP fix, return '-' char, not '+' if the user is away. Thanks jilles.
w00t [Wed, 27 Aug 2008 18:45:15 +0000 (18:45 +0000)]
USERHOST/USERIP fix, return '-' char, not '+' if the user is away. Thanks jilles.

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

15 years agoAdd <shun:notifyuser>, default on, which notifies the user that their command was...
w00t [Wed, 27 Aug 2008 15:53:06 +0000 (15:53 +0000)]
Add <shun:notifyuser>, default on, which notifies the user that their command was blocked

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

15 years agoAdd and document <shun:enabledcommands>, allowing customisation of specifically which...
w00t [Wed, 27 Aug 2008 15:42:24 +0000 (15:42 +0000)]
Add and document <shun:enabledcommands>, allowing customisation of specifically which commands shunned users may execute. NOTE: PART/QUIT (if allowed) will always suppress the PART/QUIT message. This needs some testing. :)

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

15 years agos/ /\t/
w00t [Wed, 27 Aug 2008 15:37:04 +0000 (15:37 +0000)]
s/    /\t/

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

15 years agoFix retarded windows linefeeds (brain >:()
w00t [Wed, 27 Aug 2008 15:35:53 +0000 (15:35 +0000)]
Fix retarded windows linefeeds (brain >:()

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

15 years agoDelete R:Lines from memory on destroy
w00t [Wed, 27 Aug 2008 15:20:43 +0000 (15:20 +0000)]
Delete R:Lines from memory on destroy

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

15 years agoremove the testing debug setting
brain [Wed, 27 Aug 2008 11:04:19 +0000 (11:04 +0000)]
remove the testing debug setting

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

15 years agoRemove -lunwind from openbsd stuff, per Dagonet
w00t [Tue, 26 Aug 2008 13:47:49 +0000 (13:47 +0000)]
Remove -lunwind from openbsd stuff, per Dagonet

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

15 years agoformatting..
peavey [Tue, 26 Aug 2008 04:58:34 +0000 (04:58 +0000)]
formatting..

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

15 years agoIteration 5 of wildcard matching. Fixes broken matching for certain conditions report...
peavey [Tue, 26 Aug 2008 04:47:45 +0000 (04:47 +0000)]
Iteration 5 of wildcard matching. Fixes broken matching for certain conditions reported by MacGyver.

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

15 years agoAdd test cases that fails current matching, fix to follow soon.
peavey [Tue, 26 Aug 2008 04:43:54 +0000 (04:43 +0000)]
Add test cases that fails current matching, fix to follow soon.

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

15 years agoSomeone messed this up
brain [Tue, 26 Aug 2008 01:37:05 +0000 (01:37 +0000)]
Someone messed this up

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

15 years agoPropset svn:keywords Id
w00t [Mon, 25 Aug 2008 20:50:11 +0000 (20:50 +0000)]
Propset svn:keywords Id

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

15 years agoFix build.
w00t [Mon, 25 Aug 2008 20:43:37 +0000 (20:43 +0000)]
Fix build.

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

15 years agoFix a few malformed Id tags
w00t [Mon, 25 Aug 2008 20:38:22 +0000 (20:38 +0000)]
Fix a few malformed Id tags

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

15 years agoChange module versions to use a string instead of fixed digits, and use propset ID...
w00t [Mon, 25 Aug 2008 20:35:51 +0000 (20:35 +0000)]
Change module versions to use a string instead of fixed digits, and use propset ID to auto-set versions, so we don't have (essentially unused) module versions.

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

15 years agoChange module versions to use a string instead of fixed digits, and use propset ID...
w00t [Mon, 25 Aug 2008 20:35:36 +0000 (20:35 +0000)]
Change module versions to use a string instead of fixed digits, and use propset ID to auto-set versions, so we don't have (essentially unused) module versions.

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

15 years agoTidy up in the nsis scripts, how it installs the service and removes it (hide the...
brain [Mon, 25 Aug 2008 16:11:01 +0000 (16:11 +0000)]
Tidy up in the nsis scripts, how it installs the service and removes it (hide the dos box, display informational text in the installer window)

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

15 years agoBounds checking on IsModeSet, etc, to stop silly problems
w00t [Mon, 25 Aug 2008 15:49:39 +0000 (15:49 +0000)]
Bounds checking on IsModeSet, etc, to stop silly problems

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

15 years agoImplement /who 1d t (search for who matches for users connected for a given time)
w00t [Mon, 25 Aug 2008 15:43:46 +0000 (15:43 +0000)]
Implement /who 1d t (search for who matches for users connected for a given time)

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

15 years agoAdd opt_time to WHO (will be /who +t flag) and clean the fuck up CommandWho::whomatch...
w00t [Mon, 25 Aug 2008 15:03:44 +0000 (15:03 +0000)]
Add opt_time to WHO (will be /who +t flag) and clean the fuck up CommandWho::whomatch, which was as ugly as sin.

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

15 years agoAdd and document <permchannels> block for m_permchannels, which creates a channel...
w00t [Mon, 25 Aug 2008 13:22:57 +0000 (13:22 +0000)]
Add and document <permchannels> block for m_permchannels, which creates a channel on startup. Fixes bug #511.

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

15 years agoAllow Channel::SetTopic with a NULL user record, which sets a blank topic.
w00t [Mon, 25 Aug 2008 13:20:38 +0000 (13:20 +0000)]
Allow Channel::SetTopic with a NULL user record, which sets a blank topic.

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

15 years agoFixes to make poll(2) socket engine work properly
w00t [Mon, 25 Aug 2008 12:20:13 +0000 (12:20 +0000)]
Fixes to make poll(2) socket engine work properly

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

15 years agoNumerous changes to make this build..
w00t [Mon, 25 Aug 2008 11:38:00 +0000 (11:38 +0000)]
Numerous changes to make this build..

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

15 years agoAdd poll to build system if kqueue/epoll/ports are not used, above select.
w00t [Mon, 25 Aug 2008 11:25:39 +0000 (11:25 +0000)]
Add poll to build system if kqueue/epoll/ports are not used, above select.

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