summaryrefslogtreecommitdiff
path: root/src/cmd_privmsg.cpp
Commit message (Expand)AuthorAgeFilesLines
* Reorder inspircd.h header to top•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7097 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-2/+0
* 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-1/+1
* While I'm on the macro warpath: start using IS_AWAY. Also, show the away mess...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7002 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-121-1/+1
* We've had an IS_OPER macro for a long time. About time we started using it, m...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6990 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-121-1/+1
* Small api change with wide reaching effects in modules - Allows modification ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6934 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-101-1/+1
* Remove two pointless casts, and remove some space indenting (how does this ke...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6692 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-181-1/+1
* Eliminate some string copies, tidy some code, and reverse some short-circuit ...•••(Expensive(x) && Cheap(y)) -> (Cheap(y) && Expensive(x)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6591 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-181-1/+1
* Change /msg $* to have the correct source the same way /notice $* does•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6588 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-171-1/+1
* Config option added for prefixed channel NOTICEs and PRIVMSGs to turn on/off ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6018 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-161-1/+8
* Jesus, look who's the commit whore today. More header updates, and removal of...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5996 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-5/+2
* Add prefix to /PRIVMSG, similar to bug #178 for /NOTICE•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5906 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-101-1/+9
* Add exception lists to OnUserMessage and OnUserNotice, to be used for smarter...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5817 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-271-3/+3
* Add extra parameter to OnUserPreNotice and OnUserPrePrivmsg, CUList &exempt_l...•••This also bumps the module api version by one. added "CUList fixme" to peaveys module just so it builds, as this will be refactored to use the new feature that was just added :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5806 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-261-5/+10
* kill casts, so that om <3's the code•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5219 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-111-1/+1
* * Fix ChanModes::ModeString to not try and set a key as a user mode ;)•••* Tweak the way cyclehosts works, so that mode change is not echoed back to user who changes their host/ident git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5208 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-101-1/+1
* Command result codes. This isnt finished yet, still got to do most of the mod...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5149 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-061-10/+14
* Auto loading of commands as shared objects via dlsym (very lightweight interf...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5118 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-031-0/+7
* 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-4/+0
* EventHandler class, an abstraction for raw i/o•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-181-1/+1
* 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-1/+1
* 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-1/+1
* extern time_t TIME -> InspIRCd::Time()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-4/+1
* 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-1/+1
* 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-3/+0
* Move IsNick, IsIdent into class InspIRCd, update modules that use it.•••Change message.h to just a #warning saying its deprecated, and remove all use of it from the core :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4847 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-1/+0
* 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-1/+1
* 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/+2
* Move tons more stuff into class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4819 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-2/+1
* ServerConfig extern moved into class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-2/+2
* 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-7/+7
* 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
* Allow PRIVMSG and NOTICE targets of $<servermask> to the module events (this ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4539 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-251-0/+7
* Created new class irc::commasepstream.•••Will read comma seperated lists and works identically to irc::tokenstream It's re-entrant so we can run two of them together for JOIN git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4412 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-1/+2
* 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-3/+2
* Let ulines do NOTICE/PRIVMSG $* without oper again, so that OS GLOBAL on serv...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3940 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-05-071-1/+1
* Move to new include path•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3898 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-201-1/+1
* Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-081-35/+5
* 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-10/+10
* Don't permit non-opers to /NOTICE $* and /PRIVMSG $* :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3740 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-191-1/+1
* Renamed to chanrec::modes•••Renamed IsCustomModeSet to IsModeSet GetModeParameter will now return the channel limit (as a string) for a request for mode 'l' and the channel key for a request for mode 'k'. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3692 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-121-2/+2
* *NEEDS TESTING* changed binarymodes to use the custom_modes entries•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3691 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-121-2/+2
* Removed has_channel(userrec*,chanrec*), the new preferred way of doing it is ...•••Yeah its the other way around to the old way, but somehow, seems less backwards to me (its also faster) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3560 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-081-1/+1
* Whowas refactor - probably wont compile yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3523 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-1/+0
* Fixes for (unlikely and theoretical) desync in TOPIC•••Fix to not bother trying to write away response if user is not local git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3093 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-051-1/+1
* Added "char status" parameter to OnUserPreNotice and OnUserPreMessage for NOT...•••Tidied up craq++ in modules (copy and pasting OnUserPreNotice into OnUserPreMessage?! why not just call one from the other!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3072 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-041-2/+2
* Fix to event params•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3051 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-031-2/+2
* This probably wont compile atm - add support for prefixed messages•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3046 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-031-2/+8
* Allow for NOTICE and PRIVMSG from outside chan with a remote client•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3045 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-031-9/+11
* Updated copyrights in headers etc using perl inplace edit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-151-3/+3