summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-08-27Fixes for w00t, now its boo time :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5032 e03df62e-2008-0410-955e-edbf42e46eb7
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-25Add <options:cyclehosts> which allows a user to appear to have quit when ↵brain
their host changes, so that clients/bots can stay synched properly. It is recommended this option always be on. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5017 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-24Moved an ipv6-only variable in userrec::GetIPString into the ↵special
SUPPORT_IP6LINKS define to get rid of a warning git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5012 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-24When the mode sequence doesnt start with + or -, assume a +brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5009 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-23Check for illegal mode prefixes in AddMode (':' and ',')brain
We should *probably* check to make sure their rank value doesnt conflict with another modules, too git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5003 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-23Fix and finish 005 numeric. PREFIX= is now calculated automatically if you ↵brain
add any prefixes. You do not need to mess with the numeric yourself. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5001 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-23Document mode prefixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4999 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23Spotted problem: must clear out all prefixes attached to a user when they ↵brain
quit or leave a channel Next thing to do, consider removing of opped_userlist, halfopped_userlist and voiced_userlist as this data is now in the prefixlist git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4998 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23Mode handlers handling listmodes where a listmode item is a nickname can now ↵brain
specify prefixes!!!!!! This isnt documented yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4997 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-21Poor old Ian Gulliver :p Finally got his credit herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4990 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-19More tweaksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4981 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-19Fixed makefilebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4980 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-19Changed modes/ makefile (not yet tested)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4979 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-18Missing a space in log messagesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4972 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18NONBLOCKING LOGGER!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4971 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-18Fix trying to add failed ports to socketengine (<3 new code)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4967 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Dont allow an empty away message (im not sure what the RFC says on this one sts)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4966 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Things are so much easier here (thanks to sts for the bug)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4963 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Odd bits and bobs to keep the numeric sane if the user is insane (like ↵brain
stskeeps for example) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4961 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18stskeeps trying to get his name all over our commit log :p (thanks for the ↵brain
bugreport) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4960 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Dont allow an empty key (thanks stskeeps)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4957 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Correctly return false on failure to forkbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4955 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Checking if child pid still exists, if it vanishes we exitbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4954 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18When daemonizing, have parent process wait forever, and child process kill ↵brain
it when we're done initializing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4953 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Move lowermap[] into a pre-initialised const array in hashcomp.h,brain
get rid of InspIRCd::MakeLowertab() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4951 e03df62e-2008-0410-955e-edbf42e46eb7