summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2006-08-27Fix mode granting in FJOINbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5031 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-27I only fix stuff at 3:30am if im asked nicely and now im too tired to think ↵brain
any more :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5030 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-27Extra sanity checksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5029 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-27Sometimes we were just doing Route->GetSock(), without first checking Route ↵brain
was non-null. Instead, do "if (Route && Route->GetSock())" in a few places. This should make stuff water-tight git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5027 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-27Overloaded char* equivalents of some core functions, will help us track down ↵brain
how the CRAP a stack-allocated std::string can be null? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5026 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-25Tidyup, multiple inheritence from base class to avoid code duplication in ↵brain
the two modehandler classes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5025 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-25Remove On005Numeric event from a ton of modules which no longer need it (as ↵brain
CHANMODES= part of 005 is now automatically done) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5024 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-25Fix changing of idents and hosts (it wasnt working -- in fact WriteCommon ↵brain
was sort of BROKEN AS HELL) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5023 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-25Add userrec::ChangeIdent (which we were missing) which can emulate the ↵brain
quit/rejoin same as ChangeDisplayedHost git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5022 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-25Added leachim's +qa prefix patchbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5016 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-24Remove OnPostConnect here, it was being used under the assumption that it ↵brain
still did global connects git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5015 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-24Speaking of forgetting things, someone forgot to change the name of the functionspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5014 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-24Someone forgot another :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5013 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-24Somebody forgot one :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5011 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-24Renamed the OnGlobalConnect callback to OnPostConnect, which is much more ↵special
appropriate git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5010 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-24Check for missing comma in FJOIN elementbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5008 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23ModeParser::InsertMode is no longer required -- this is auto-generated by ↵brain
the ModeParser based on what modes are registered and wether or not they have certain attributes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5007 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23Forgot the comma in first joinbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5005 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23If we get an unknown prefix character on a user when they join, we throw a ↵brain
fit and close the connection git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5004 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23Multi-prefix FJOIN, and allowing module-defined prefixes across the networkbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5002 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23More prefixchar stuff.brain
WARNING: 005 numeric is broken in this commit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5000 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-21In 1.1, place all FJOIN parameters in the last parameter of the FJOIN - if ↵brain
there is more than one user joining, prefix with a colon. This way we're not limited to ~12 users per FJOIN command. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4988 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Fix timeoutsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4977 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Fix ident timeouts to work properly when the connect succeeds but nothing ↵brain
comes in as a reply to the ident request git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4976 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Indent tidyupbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4970 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Dont allow USERIP (where loaded) on unregistered usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4950 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Don't allow adding of invalid nicknames to watchlistbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4945 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Modified m_silence to take masks instead of nicknames. Since this is *much* ↵special
more CPU intensive, we should probably put in a maximum number of entries soon git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4943 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18EventHandler class, an abstraction for raw i/obrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-16Optimizationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4927 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-16Wasnt checking channel name on ban deletionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4926 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-16LeaChim please try thisbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4923 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-16free() REQUIRES casts to free const char*'s :<brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4922 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-16Because the iterator can be whacked (and the item) inside of SetBan, make copiesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4921 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-16Tweak: Setting server pointer isnt requiredbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4920 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-13If +L is set without +l, dont forward usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4918 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12Catch exceptions from SQLresolverom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4910 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Just to mess with om's head, remove helperfuncs.h from everywherebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.brain
NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Move remaining functions:brain
operstrcmp* commands.cpp InspIRCd::operstrcmp() duration* commands.cpp InspIRCd::duration() host_matches_everyone* commands.cpp InspIRCd::host_matches_everyone() ip_matches_everyone* commands.cpp InspIRCd::ip_matches_everyone() nick_matches_everyone* commands.cpp InspIRCd::nick_matches_everyone() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4888 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11So is this one ;-pppbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4887 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Somehow, IMPORTANT changes got reverted.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4885 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11peline/pxline etc stuff removedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4884 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Change to using Instance->Log (InspIRCd::Log) rather than log() macrobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Now two types of log macro, log() and ilog(). log() assumes an InspIRCd ↵brain
object called ServerInstance, ilog() takes an InspIRCd object as first param. TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Change to use InspIRCd::Time()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4874 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11extern time_t TIME -> InspIRCd::Time()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11New API updateom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4872 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11New API updateom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4871 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11New API updateom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4870 e03df62e-2008-0410-955e-edbf42e46eb7