summaryrefslogtreecommitdiff
path: root/src/modules/m_cban.cpp
AgeCommit message (Collapse)Author
2006-10-19Insert massive change here.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 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-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-15Annotationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5255 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15Annotationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5254 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-06All commands now return results CMD_FAILURE or CMD_SUCCESSbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5150 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include listsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 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-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-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-11None of the modules use an extern InspIRCd* any morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4863 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11(Bigger than it looks, i did this with perl inplace edit) -- commands now ↵brain
take an InspIRCd* param to their constructor, so that you can do stuff within them without an extern git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4862 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Last of Server:: methods moved to InspIRCd::. Server:: removed.brain
This will need a real good tidyup later, because now everything is in the right place, but its a mess because for now i threw them into place (e.g. space indenting, etc) Next on the todo: Make command handlers have a ServerInstance (gank!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4861 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.brain
Changed Parameter for modules from Server* to InspIRCd*. TODO: Move remaining Server* Modules into InspIRCd* and remove class Server. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Move tons more stuff into class InspIRCd*, make signal handler functions ↵brain
static members git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4855 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Fixes and removal of Server::GetServerName()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4844 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10FindNick, FindChan, ChanModes, UserList, CountInvisible, PurgeEmptyChannels, ↵brain
GetClass, WriteOpers, GetServerDescription -> into classes ServerConfig takes InspIRCd pointer in its constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4832 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09ServerConfig extern moved into class InspIRCdbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08WHEEEEE!!!!!brain
All of: Write(), WriteTo(), WriteFrom(), WriteServ() are now methods of userrec. Write_NoFormat(), WriteTo_NoFormat(), WriteFrom_NoFormat(), WriteServ_NoFormat() are now std::string-taking overloaded methods of the functions above All modules updated to use new syntax, my fingers hurt :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4798 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30REMOTE STATS! WOOO AND YAY!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4596 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28Add support for syntax of commands in place of the text 'Not enough ↵brain
parameters' in numeric 461, where supported. To support this each derived class of command_t must set the value of command_t::syntax to a non-empty string. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4561 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-16mass tidyup, change A LOT of stuff to const char** which was char** (such as ↵brain
parameters to commands in handlers) which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations (all in all, ive added 2 casts and removed almost a hundred) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10Inherit just about everything from classbasebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4299 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Refactored user modes to work like the channel modes - core and module data ↵brain
now the same storage format without ::modebits git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-19Forward-port CBAN expiry fixw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4035 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11More converted modulesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3655 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-13s/No such channel/Invalid channel namew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3186 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-13Make use of IsValidChannelName() - as a side note, we perhaps shouldn't be ↵w00t
returning 403 in CBAN... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3184 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-05Bug in code for syncing cbansom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3090 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03Add operators >> and << for irc::string and i/ostreams. m_cban utilises thisom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3066 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-01IRC case sensitivity bug, if only we could use ASCII......om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3002 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-31Some changes to some stuff..om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2996 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-30Major updates to CBANs...like they're reasonably functionalom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2987 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15Updated copyrights in headers etc using perl inplace editbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26New 'Implements' systembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2655 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-23Semi-pointless commit to see CIA in action...w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2639 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22Maybe done removing of CBans?w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2631 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22Fixedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2616 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22Added debugging. Let's fix this sucker >:/w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2615 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22Well, it should do something useful noww00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2614 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22Another commit, just because I can :Pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2613 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22Changed to use []brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2612 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22c++ errors, ftww00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2611 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22Getting closer...w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2610 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22Fixed compile problems... Move along please, nothing to see here..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2609 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-21More CBAN structuring... getting there :-)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2608 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-21Initiial revision of CBAN. It doesn't do anything useful just yet.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2597 e03df62e-2008-0410-955e-edbf42e46eb7