summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2006-10-04Fix jamies fix (you cant strcpy to a char* pointer, without first allocating ↵brain
some memory!) -- made it char newident[MAXBUF]. Added extra fixage for when the ident module gets 'connection refused' right away, this also prepends the ~ properly too now git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5413 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-04Fix for bug#159 reported by SiliconAI (unloading causes crash, it neglects ↵brain
to remove its timer) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5412 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-04Nickname collisions were broken! :Obrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5410 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-04*slaps* jamie for not using tabs to indent ;-pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5409 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-04Prepend ident with '~' if we get no responsejamie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5408 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-03Someone review the comments i put in from line 1515 onwards, and see if ↵brain
theyre legible and make FJOIN understandable? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5407 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-03Tidyup (remove casts) and commenting FJOIN a lot, so that others can fix ↵brain
stuff that breaks (if it breaks) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5406 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-03Fake direction check in FJOIN on all users, plus tidyup of the code that ↵brain
forms the modeline for giving them their privilages git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5405 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-03New helper class irc::stringjoiner - it pwns you.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5403 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-02Fix my last change to InspIRCd::Time()jamie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5402 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-02Use InspIRCd::Time() instead of time()jamie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5401 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-02Seems to work nowbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5400 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-02nenolod, what craq were you smoking? this code was FINE, you broke it :Pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5399 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-02no you can't just go from a std::ostringstream to a std::string, Om. *thwap*nenolod
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5396 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-02mmmm dinner break, oh and document and make use of modestacker.brain
Someone test this, i cant as im at work. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5395 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-02Fix SAJOIN notices to show target instead of source nickjamie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5393 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-02Fix REMOVE reasonjamie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5392 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-02Add r5381 fix to remote rehash toow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5382 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-02This ULine check looks really, really bad - and caused horrible things to ↵w00t
happen (equal TS wasn't merged, causing infinite loops.). I think removing it is the solution, Brain, please verify when you wake up. Seems to fix it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5380 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-01Remove duplicate oper noticejamie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5379 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-01It all came down to a >1 where we needed a >0. Things should be stable now jamiebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5375 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-0164bit fixesom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5374 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-01Now with binary versioning goodnessbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-01Atheme wont work right, because this wasnt VF_COMMON. If its not VF_COMMON, ↵brain
its not going to show in capab :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5364 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-30Fix broken opermd5 (switch over % and / operators)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5360 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-29CGIResolver isnt being passed a serverinstance to its constructor, so its ↵brain
trying to use a global copy which we dont really have (e.g. invalid pointer) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5358 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-29Made m_filter_pcre free the compiled regular expressions on rehash (no more ↵special
memory leak) and fixed my previous fix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5357 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-29Fixed the pcre include path in m_filter_pcre - on every system I tested, ↵special
--cflags only gives -I, and on some the include file is not where it was expected before (thanks jamie) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5356 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-28Cleaned up FJOIN a bit, fixing another segfault in the process. Brain should ↵special
take a look at this and see if there are any subtle bugs in how it works, since its trackrecord isn't great :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5355 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-28Fixed another segfault in m_spanningtree's FJOIN (forgot to check if the ↵special
channel existed before setting its TS) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5354 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-27Fixed /spynames, thanks to relax for finding the bugspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5353 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-27Someone forgot support for CIDR herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5345 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26Make svshold case insensitive, fix ./configure -update and ./configure ↵brain
-modupdate which were...still broke :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5341 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26Fix bug found by giggsey (even though he doesnt realise he just found one)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5340 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26make OnPostConnect globalbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5339 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26Only output the 'AES on' message if the socket state isnt I_ERROR when its ↵brain
reached git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5337 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26Change error from 'connection established' to 'connection started'brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5336 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26Fixed a rather obvious crashbug in m_spanningtree (FJOIN)special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5335 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Mini security auditbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5333 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25And maybe, just maybe, not fuck it up :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5331 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Allow for multiple <http> tags, each with their own index and bound to their ↵brain
own ip git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5330 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25This doesnt really need to be staticbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5329 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25All done.brain
Modules may now change the privialges each user gets as they join, in OnUserPreJoin. For the first user in, this value defaults to a string containing "@" otherwise it defaults to a string containing nothing. If you change it, they get the new prefixes instead, and yes module-based prefixes ARE supported and its all automatically networked. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5327 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Make this compile. We now have to change all OnUserPreJoin usebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5326 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Whoops, patchbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5324 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Added /greloadmodule to m_globalload.sospecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5323 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Add send_topic event, lets you send a topic for a channel, set by a serverbrain
(internally this translates as FTOPIC in this protocol) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5322 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25SVSHOLD, not SVSHoldw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5321 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Add m_svshold, Q:Lines on crack for services. Party party! \o/w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5319 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Fix (broken) ./configure -update and ./configure -modupdatebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5318 e03df62e-2008-0410-955e-edbf42e46eb7