summaryrefslogtreecommitdiff
path: root/src/modules/m_restrictmsg.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Header rearrangement, move inspircd.h to top, remove stdio, stdlib, ↵Gravatar brain2007-05-211-5/+1
| | | | | | | | | stdblahblah that we dont even use, remove redeclared <string>, <map>, <vector>. 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
* Windows support. Tested and working to compile on freebsd and linux. Next ↵Gravatar w00t2007-05-191-2/+2
| | | | | | 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
* The commit that should have been r7000: src/modules now uses IS_OPER instead ↵Gravatar w00t2007-05-121-6/+7
| | | | | | of not so tidy char equivilant git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7001 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #205 reported by nenolod (modules that erroneously check remote ↵Gravatar brain2007-02-071-1/+1
| | | | | | users to apply privmsg/notice restrictions) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6532 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove global namespacing, makes modules compile FASTAH. Also massive update ↵Gravatar w00t2006-12-151-8/+3
| | | | | | on headers (change to InspIRCd Development Team, extend copyright to 2007). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995 e03df62e-2008-0410-955e-edbf42e46eb7
* Add extra parameter to OnUserPreNotice and OnUserPrePrivmsg, CUList ↵Gravatar brain2006-11-261-3/+3
| | | | | | | | | &exempt_list, a list of users NOT to write to. By default it just contains the sender, you can add more. 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
* Insert massive change here.Gravatar brain2006-10-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7
* Now with binary versioning goodnessGravatar brain2006-10-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
* Just to mess with om's head, remove helperfuncs.h from everywhereGravatar brain2006-08-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
* Last of Server:: methods moved to InspIRCd::. Server:: removed.Gravatar brain2006-08-101-1/+1
| | | | | | | | 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
* Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.Gravatar brain2006-08-101-3/+3
| | | | | | | | 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
* ServerConfig extern moved into class InspIRCdGravatar brain2006-08-091-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7
* WHEEEEE!!!!!Gravatar brain2006-08-081-1/+1
| | | | | | | | | 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
* Removed a whole lot of strchr's looking for mode +o where we can do if ↵Gravatar brain2006-02-151-1/+1
| | | | | | *user->oper git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3221 e03df62e-2008-0410-955e-edbf42e46eb7
* TypoGravatar om2006-02-041-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3073 e03df62e-2008-0410-955e-edbf42e46eb7
* Added "char status" parameter to OnUserPreNotice and OnUserPreMessage for ↵Gravatar brain2006-02-041-2/+2
| | | | | | | | | NOTICE @#chan etc. 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
* Updated copyrights in headers etc using perl inplace editGravatar brain2006-01-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
* Converted to 'Implements' systemGravatar brain2005-12-261-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2666 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed behaviour of module API to pass Server* to the constructor, rather ↵Gravatar brain2005-12-071-5/+5
| | | | | | than have to create one (makes more sense) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to use __single_client_alloc, faster on most systems in a single threadGravatar brain2005-05-151-0/+2
| | | | | | | Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved a ton of functions into helperfuncs.h to speed up recompilesGravatar brain2005-05-151-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
* Tons of module versionflags stuff, and checks for it in /UNLOADMODULEGravatar brain2005-04-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1001 e03df62e-2008-0410-955e-edbf42e46eb7
* Added version flagsGravatar brain2005-04-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1000 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed using the wrong function, doh, i must need sleep!Gravatar brain2005-03-281-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@927 e03df62e-2008-0410-955e-edbf42e46eb7
* Typos are bad ok?Gravatar brain2005-03-281-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@926 e03df62e-2008-0410-955e-edbf42e46eb7
* Added a module at request of [ed] which stops anyone messaging all but opersGravatar brain2005-03-281-0/+93
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@925 e03df62e-2008-0410-955e-edbf42e46eb7