summaryrefslogtreecommitdiff
path: root/src/modules/m_remove.cpp
AgeCommit message (Collapse)Author
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-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-11ConfigReader and FileReader now take InspIRCd* to their constructorsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4865 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-10Mass-tidyup of module global vars, theyre no longer global vars.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4856 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-10cmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), ↵brain
chanrec::GetStatusFlags(), chanrec::GetStatus() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4837 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-09do_log -> static void InspIRCd::Log() (with vararg and std::string variants)brain
The #define for this still exists, but maybe should be phased out? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4809 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-08-08WriteChannel* functions and ChanExceptSender* functions are now methods of ↵brain
chanrec. They probably should be renamed too eventually. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4788 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08Change to chanrec::PartUser. As with KickUser and ServerKickUser, returns ↵brain
the number of users left, if it returns 0, delete the chanrec git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4786 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07General cleanup of code., add support for +Q channel mode (and config tag ↵om
<remove:supportnokicks>) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4765 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-10Convert to templated GetExtbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4285 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-24Dont allow /REMOVE of a uline, dont allow /REMOVE of a user who isnt on the ↵brain
channel (*slaps* Om) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4057 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-06Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE ↵w00t
THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-28Cleanups. Don't have a colon with no part reason. Parameter order not changedom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3785 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-27Founders CANNOT be kicked, so don't let them be removed either.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3768 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-27Removed unused check for valid channel name - if it's invalid, it won't ↵w00t
exist in the first place ;p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3766 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-20Why does EVERYONE forget to include helperfuncs.h?brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3744 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-19Trivial: 401 numeric for m_remove when nick or channel cannot be foundbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3742 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-19Someone doesnt validate their input.... ;-pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3741 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26How did this random stray '1' get in here before the brace?brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3332 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Server* Srv marked static or moved to private member of module class in all ↵brain
modules, paves way for removal of static-build-munging-regexp that breaks +eI git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3330 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-05AAARGH! GRAMMAR NAZIS! ALL AROUND ME!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3094 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26Converted to 'Implements' systembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2666 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Porting to new command systembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2535 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-07Changed behaviour of module API to pass Server* to the constructor, rather ↵brain
than have to create one (makes more sense) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30Bit of a cleanupw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2033 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-30Started on -Wall - safe compilebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Changed to use __single_client_alloc, faster on most systems in a single threadbrain
Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-07Tons of module versionflags stuff, and checks for it in /UNLOADMODULEbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1001 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-07Added version flagsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1000 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-07Started work on /UNLOADMODULE, resource tracking and flags in Version classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@999 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-27Added 005 numeric handling to most of the modulesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@921 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-26Added m_remove by om, uses a force part to replace a kick to thwart auto rejoinbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@913 e03df62e-2008-0410-955e-edbf42e46eb7