summaryrefslogtreecommitdiff
path: root/src/modules/m_remove.cpp
Commit message (Expand)AuthorAgeFilesLines
* Header rearrangement, move inspircd.h to top, remove stdio, stdlib, stdblahbl...•••This (1) fixes the irc::string::move warnings on vc8 (2) speeds up compile a lot git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7098 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-1/+1
* Windows support. Tested and working to compile on freebsd and linux. Next ste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-191-2/+2
* Last commit of that batch: Fix some returncodes (some stuff here really didn'...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6978 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-111-0/+1
* Mass comment removal.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-171-8/+0
* Fix to allow for OnRehash to know what user initiated the rehash•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-011-2/+2
* Remove global namespacing, makes modules compile FASTAH. Also massive update ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-9/+3
* Tweak this module to always allow remove from remote, no matter what the perm...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5842 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-041-2/+2
* Insert massive change here.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-191-1/+1
* New helper class irc::stringjoiner - it pwns you.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5403 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-031-11/+8
* nenolod, what craq were you smoking? this code was FINE, you broke it :P•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5399 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-021-2/+2
* no you can't just go from a std::ostringstream to a std::string, Om. *thwap*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5396 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar nenolod2006-10-021-5/+7
* Fix REMOVE reason•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5392 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar jamie2006-10-021-2/+0
* Now with binary versioning goodness•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-011-1/+1
* Annotations•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5255 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-151-0/+6
* All commands now return results CMD_FAILURE or CMD_SUCCESS•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5150 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-061-7/+11
* Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include lists•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-301-3/+16
* More prefixchar stuff.•••WARNING: 005 numeric is broken in this commit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5000 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-231-4/+4
* Just to mess with om's head, remove helperfuncs.h from everywhere•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+1
* CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.•••NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-2/+2
* Move remaining functions:•••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 Gravatar brain2006-08-111-2/+2
* Change to using Instance->Log (InspIRCd::Log) rather than log() macro•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-8/+8
* ConfigReader and FileReader now take InspIRCd* to their constructors•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4865 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-2/+1
* None of the modules use an extern InspIRCd* any more•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4863 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-5/+4
* (Bigger than it looks, i did this with perl inplace edit) -- commands now tak...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4862 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-4/+4
* Last of Server:: methods moved to InspIRCd::. Server:: removed.•••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 Gravatar brain2006-08-101-3/+3
* Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.•••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 Gravatar brain2006-08-101-14/+14
* Mass-tidyup of module global vars, theyre no longer global vars.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4856 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-1/+1
* Fixes and removal of Server::GetServerName()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4844 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-1/+2
* cmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), chanrec::GetStatusF...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4837 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-4/+4
* FindNick, FindChan, ChanModes, UserList, CountInvisible, PurgeEmptyChannels, ...•••ServerConfig takes InspIRCd pointer in its constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4832 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-2/+4
* do_log -> static void InspIRCd::Log() (with vararg and std::string variants)•••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 Gravatar brain2006-08-091-0/+1
* WHEEEEE!!!!!•••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 Gravatar brain2006-08-081-5/+5
* WriteChannel* functions and ChanExceptSender* functions are now methods of ch...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4788 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-1/+1
* Change to chanrec::PartUser. As with KickUser and ServerKickUser, returns the...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4786 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-2/+4
* General cleanup of code., add support for +Q channel mode (and config tag <re...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4765 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-08-071-93/+192
* Add support for syntax of commands in place of the text 'Not enough parameter...•••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 Gravatar brain2006-07-281-0/+1
* mass tidyup, change A LOT of stuff to const char** which was char** (such as ...•••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 Gravatar brain2006-07-161-1/+1
* Convert to templated GetExt•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4285 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-4/+8
* Dont allow /REMOVE of a uline, dont allow /REMOVE of a user who isnt on the c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4057 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-06-241-1/+7
* Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE T...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-04-061-4/+4
* Cleanups. Don't have a colon with no part reason. Parameter order not changed•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3785 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-281-44/+48
* Founders CANNOT be kicked, so don't let them be removed either.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3768 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-03-271-2/+2
* Removed unused check for valid channel name - if it's invalid, it won't exist...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3766 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-03-271-9/+0
* Why does EVERYONE forget to include helperfuncs.h?•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3744 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-201-0/+1
* Trivial: 401 numeric for m_remove when nick or channel cannot be found•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3742 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-191-0/+3
* Someone doesnt validate their input.... ;-p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3741 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-191-0/+6
* How did this random stray '1' get in here before the brace?•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3332 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-261-1/+1
* Server* Srv marked static or moved to private member of module class in all m...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3330 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-261-14/+23
* AAARGH! GRAMMAR NAZIS! ALL AROUND ME!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3094 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-051-1/+1
* Converted to 'Implements' system•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2666 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-261-0/+5