summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2008-09-08More compile fixes.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10475 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Fix compile problems hopefully..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10474 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08(Attempt to) convert MySQL to using listener base.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10473 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Remove old listening stuff from spanningtree, use a new derived listener class.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10472 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Give httpd a custom listener class, specialised in creating HttpServerSockets.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10471 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix missing semicolon in m_ssl_openssl [danieldg]w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10464 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Merge the second interface for socket hooking into one, so it's all done by ↵w00t
Add/Del/GetIOHook now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10457 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix IO hooking modules to use the new (not old) hooking callw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10451 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Don't execute multiple aliases after executing one.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10445 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix aliases returning multiple messages, thanks Ankit.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10444 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix compile. Try again, Ankit.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10443 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Set default values for <alias:usercommand> and <alias:channelcommand>, ↵w00t
Ankit, please provide feedback. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10439 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Add (currently untested and undocumented) fantasy command ↵w00t
(<alias:channelcommand>) support. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10425 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Grr at windows exportsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10424 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Rename some member fields; add <alias:usercommand>, default true - whether ↵w00t
or not the alias may be used as a /command. Also add (but don't yet implement) <alias:channelcommand>, default false, as to whether or not the command may be used as a fantasy command. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10423 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Restructuring to m_alias, this will be used for (optional) fantasy commands.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10422 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Modify aliases to use a multimap rather than a vector for storage + a map ↵w00t
for quick existance checking, this makes processing an alias that exists O(log n), while keeping checking for nonexistant aliases O(log n) also, as well as saving us a few bytes of memory. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10419 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Add m_operinvex, adds first use for extended invex (added by Brain). Allows ↵w00t
for +I O:opertypemask, +b O:opertype, +e O:opertype. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10416 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Depends on: ../../include/u_listmode.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10415 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Publish interface in chanfilterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10408 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Newer extban-supporting listmode apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10407 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Use lock/unlockbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10405 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06use lock/unlock instead.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10404 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06RegexFactoryRequest sets result to null on construction, so if you direct ↵brain
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
2008-09-05Now with threaded queries.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10401 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-05Fix unsafe cast (const char * -> char *). Doesn't really matter, though, as ↵w00t
nothing currently uses this code. ;p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10400 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-05TRE regex provider (the same engine used by Unreal 3.2)aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10399 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-05POSIX regular expression provider (basic/extended controlled by <posix ↵aquanight
extended=..>). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10398 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-05Make it possible to retrieve the original string from a given regex object, ↵aquanight
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
2008-09-05Adjustments to regex creation, and add PCRE provideraquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10396 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-05Framework for central regex module, and a bare-bone implementation based on ↵aquanight
InspIRCd::Match(). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10395 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-05mysql's windows build is utter hell to get working the way we wanted. The ↵brain
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
2008-09-05sql api and m_mysql compile fixes for windowsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10393 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Needs the .lib apparentlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10392 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04This would be useful, toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10391 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Of course, it DOES help to actually initialise the Mutex objects, and delete ↵brain
them on shutdown after the thread is gone git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10390 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Update commentbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10389 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Now uses Mutex class. No need for pthreads use directly in this lib. Needs ↵brain
testing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10388 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Thread is now a Thread derived class, now need to convert the mutexes. With ↵brain
the new Mutex class, should be pretty easy git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10387 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-02Change exception message: "You cannot load m_services.so and ↵brain
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
2008-09-01Make m_chanfilter grok globbing, meaning +g test?string?lol is now possible ↵w00t
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
2008-08-31Two fixes: Ignore + when parsing mode string in UID, and dont prepend + if ↵brain
we already have one, to prevent '++' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10368 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31More debugging mesages for troubleshooting invalid mode sequences in UIDbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10367 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31I guess it makes sense never to let the gecos be parsed as a mode param, ↵brain
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
2008-08-31Move all the parameters around AGAIN. See docs shortlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10364 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Two fixes: First, change the error message for too few params for UID to now ↵brain
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
2008-08-31What the fuck am I doing.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10362 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Off-by-one on params also == masskill, woow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10361 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Add snomasks to UID command, after 'modes', bump protocol version, as this ↵w00t
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
2008-08-31Remove a redundant check, and fix user-mode change propegation. (closes bug ↵w00t
#574) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10358 e03df62e-2008-0410-955e-edbf42e46eb7