summaryrefslogtreecommitdiff
path: root/include/commands
AgeCommit message (Collapse)Author
2008-02-20Wheee, mass commit! this adds const stafety, throwing a compile error if ↵brain
anyone does: "parameters[n] = blahvar;" in a command handler etc. where they REALLY SHOULD NOT fuck with the value and should copy the pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8971 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13Slight API tweak. Change Command to take char * instead of char in it's ↵w00t
constructor, this avoids confusion/generates a compile error if someone mixes up flags with number of params, instead of working but not working as expected in a weird manner. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8918 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Header update: 2007 -> 2008w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21No penalty here!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8297 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Another big commit, just to please all my fans out there.. cmd_* -> ↵w00t
Command*. Muahaha. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8290 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Fixed ssl clients on trunk. The problem peavey was having was that before ↵brain
ReadBuffer was char[] now its char*. sizeof() on char[] returns its size in chars, and sizeof on char* returns 4. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8263 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Set penalties (documentation page listing these to come)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8262 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Don't penalise /kill and /*linebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8259 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Don't penalise PING/PONGw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8258 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Add penalties for WHO, INVITE, LIST, JOIN, PART.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8257 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Set cmd_nick to have a penalty of 3brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8253 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15InspTimer -> Timerw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8205 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15In the grand tradition of huge fucking commits:w00t
- chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15class command_t -> class Command. Whey :Dw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-27Remove /summon and /users (I think 15+ years of being marked deprecated is ↵w00t
enough, really) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8088 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Initialise cmd_nick::allowinvalid in constructor init-list, and document ↵brain
HandleInternal (now two commands that use this, cmd_whowas and this one) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7871 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Add a call to the NICK handler that allows toggling of allowing invalid ↵brain
nicks to on or off. Use it in ForceNickChange to allow forced nickchange of a nick to a uid. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7869 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24Fix comment so it makes sense.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7552 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24Remove redundant include for a speedup of 0.1 in compile time :ppeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7531 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17Mass header update. Chatspike-Dev => InspIRCd....peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7467 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵peavey
auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Doxygen comments for command handlersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7376 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17More commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7375 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Add commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7374 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01Make valgrind happy and not leak mem.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7201 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19Space indents must die.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7049 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19Windows support. Tested and working to compile on freebsd and linux. Next ↵w00t
step is to make sure it actually works in windows too. ;p. Add Burlex to contributors. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-15Add cmd_reloadmodule.{h,cpp} contributed by Eric at neowin.net, thanks :)brain
Someone forgot to increase the release years of all the headers in include/commands git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7028 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09If we're having local, we need far too (f)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6929 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09Add WHO flag 'l', show only local usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6928 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09Add extra matches to /WHO. flags aiMp, away, ident, metadata, port numberbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6926 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09Someone left a flag out of the syntax (m, modes)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6925 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24Test stuff to fix remote stats brokagebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6710 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-09/who tidyup - needs QA'ingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6641 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-08cmd_whowas now uses the shiny new repeating timer.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6266 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-08Move whowas containers into whowas class to avoid all cpp files including ↵peavey
cmd_whowas.h to try and destroy the containers on fork exit.\nThis would cause a segfault when forking due to the containers destroy being called multiple times, but still allow the server to fork it's child and leave the server running. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6260 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-08Add /CLEARCACHE, oper only command which completely purges the DNS cache -- ↵brain
useful if you just want to cut down on ram use at any point. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6259 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Move all /WHOWAS related out of core and into cmd_whowas.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6249 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-07Bad w00tie bad, /who isnt checking +s for channel /who!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5883 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Document a ton of classes (e.g. give them a short description for ↵brain
http://svn.inspircd.org/docs/annotated.html) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5434 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15Annotationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5257 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15Annotationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5256 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10Spacify() the oper typesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5199 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-08Allow QUIT to be used before we fully register the connection. This stops ↵brain
mirc from closing the connection thinking it has quit when inspircd has denied their QUIT command, in theory the ghosts w00t and i saw would have timed out after 60 secs? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5158 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-06Command result codes. This isnt finished yet, still got to do most of the ↵brain
modules, and alter CallCommandHandler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5149 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-03Add /RELOAD and move cmd_mode into its own command.brain
/RELOAD is the only thing you cant reload (ahem) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5119 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-03Auto loading of commands as shared objects via dlsym (very lightweight ↵brain
interface, just expects a command_t* pointer) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5118 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30Remove a ton of <typeinfo>, <iostream>, <sstream> etc that we usually never usebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5081 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