summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2006-10-06Update to support modular prefixes, and eliminate some string copyingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5432 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Optimize some morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5431 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06...and actually take out the +i restrictionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5430 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Backport improved NAMES code into m_spybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5429 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Tidy up strlens which are not requiredbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5428 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Tidy up m_safelist to avoid strlen on every line output, we're strlen()ing a ↵brain
constant-ish string so instead record the value for later use. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5425 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-05Report invalid command name when invalid command is given in negotiation phasebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5424 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-05Remove some annoying debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5423 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-05Fixed freeing of bound sockets when unloading spanningtreebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5422 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-05Was checking 'channel', not 'dest'.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5421 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-05Remove VF_STATIC from spanningtree and make a clever destructor to close and ↵brain
free all its open sockets. In theory this will make insp split from everything neatly when you unload spanningtree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5418 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-05Add <options:announcets> to output the "TS for #chan changed from 1111 to 2222".brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5417 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-04Eugh. Revert change InspIRCd::Time() -> time()jamie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5416 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-04Check for non-existent channel in FMODEbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5415 e03df62e-2008-0410-955e-edbf42e46eb7
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