aboutsummaryrefslogtreecommitdiff
path: root/src/snomasks.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve X-line text consistency.Gravatar Matt Schatz2019-01-091-2/+2
| | | | | | | | | | - Change any "-Line", ":Line", or "*line" to "-line" throughout the X-line code, comments, and documentation. - Add periods to the end of some notices. - Correct a typo in the Q-line code comments. - Update the filter module documentation (shun addition). Co-authored-by: Robby <robby@chatbelgie.be>
* Remove the 'debug' snotice character.Gravatar Peter Powell2018-08-071-1/+0
|
* Log snotices with their description rather than just as "snomask".Gravatar Peter Powell2018-07-201-5/+2
|
* Kill needless #includes in source filesGravatar Attila Molnar2014-06-141-1/+0
|
* Add typedef OperList to UserManager for use with all_opersGravatar Attila Molnar2014-03-251-2/+2
|
* Change type of snomask parameter to char in ProtocolInterface::SendSNONotice()Gravatar Attila Molnar2014-01-041-1/+1
|
* Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-1/+1
|
* Rewrite SnomaskManager::SendMessage() and Flush(), split code into functionsGravatar attilamolnar2013-07-241-60/+58
|
* Enable the LINK snomask from m_spanningtree, remove unused FLOOD snomaskGravatar attilamolnar2013-07-201-2/+0
|
* Replaced vsnprintf with VAFORMAT pretty much everywhere.Gravatar Daniel Vassdal2013-05-181-16/+6
|
* Add method for writing server notices.Gravatar Peter Powell2013-05-141-2/+2
| | | | | | | | | This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name.
* Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-2/+2
|
* Change empty string assignments to .clear() or remove them entirelyGravatar attilamolnar2012-11-281-1/+1
| | | | Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f
* Resolve two warnings clang complains aboutGravatar ChrisTX2012-10-141-2/+2
| | | | | No newline at end of file in consolecolors.h String plus int in snomasks
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
|
* Backported Shawn's NoSnoticeStack code from insp21Gravatar Robby-2012-04-151-1/+1
|
* Make remote/local snomasks consistent and allow use without namingGravatar danieldg2010-02-251-79/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12568 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Introduce "X" snomask for remote *:line messages [patch by jackmcbarn]Gravatar danieldg2009-09-141-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11721 e03df62e-2008-0410-955e-edbf42e46eb7
* ModResult conversion: Change return type of all module functionsGravatar danieldg2009-09-021-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7
* Add global-routing snomask functionsGravatar danieldg2009-04-181-0/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11314 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert snomask 'A' into snomask 'a' for local announcements, add snomask ↵Gravatar w00t2009-04-161-1/+2
| | | | | | | | | 'A' for remote announcements. Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros We really need a wrapper to use these, but, for now it's usable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Send (last message repeated N times) snomask to log channelGravatar danieldg2009-03-101-3/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11202 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix snomask stacking to only delay (last message repeated) part of the snomaskGravatar danieldg2009-03-101-33/+40
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11201 e03df62e-2008-0410-955e-edbf42e46eb7
* Flush snotices instantly on send (disable queueing) - in it's present form, ↵Gravatar w00t2009-03-091-0/+2
| | | | | | it appears it annoys OCD opers. Will be reintroduced to be less irritating in future. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11193 e03df62e-2008-0410-955e-edbf42e46eb7
* Nuke trailing spacesGravatar peavey2009-02-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* I am a retard. Hear me DROOOOOOOOOOOOOOOOOOOOLLLLLLLLLLLLLLLLLLLLL...Gravatar w00t2008-10-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10771 e03df62e-2008-0410-955e-edbf42e46eb7
* Add REMOTEOPER snomask.. use it.Gravatar w00t2008-10-311-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10770 e03df62e-2008-0410-955e-edbf42e46eb7
* Add snomask +s +L - remote link notices.Gravatar w00t2008-10-311-0/+1
| | | | | | | | Can be a useful distinction for bigger networks or networks with more distinction on what people can and cannot see. This also makes RemoteMessage more match it's docs and removes useless redundancy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10759 e03df62e-2008-0410-955e-edbf42e46eb7
* Actually call OnSendSnotice event.Gravatar w00t2008-08-221-8/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10224 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove last vestige of libircdfoo, by changing tag into a single ↵Gravatar w00t2008-07-291-1/+1
| | | | | | identifier marking object as requiring compilation into a .o (minor commit) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7
* After discussions and thought, move umode +n to +s. This increases ↵Gravatar w00t2008-07-291-1/+1
| | | | | | cross-ircd compat (both charybdis and unreal use +s for snomasks, others might in the future). This also decreases complexity for new users, and removes the redundancy. This means that just +s +cC for example will be required to view connects. (files to be renamed in next commit to not confuse svn). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10074 e03df62e-2008-0410-955e-edbf42e46eb7
* Make User:: nick/ident/dhost/fullname and some other things std::string ↵Gravatar aquanight2008-05-181-2/+2
| | | | | | instead of char*/char[] (MODULES DO NOT COMPILE) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9748 e03df62e-2008-0410-955e-edbf42e46eb7
* FixyGravatar brain2008-05-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9731 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, this was a bit fucked up :pGravatar brain2008-05-181-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9730 e03df62e-2008-0410-955e-edbf42e46eb7
* Log all snomasks to "snomask" log type, level DEFAULT. This means your log ↵Gravatar brain2008-05-181-0/+2
| | | | | | gets all the snomasks in it, but you can filter them out with "-snomask". This allows a user to redirect them to a channel with m_chanlog git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9729 e03df62e-2008-0410-955e-edbf42e46eb7
* Okay, this was good in theory, but totally and utterly fucked in ↵Gravatar w00t2008-05-051-34/+10
| | | | | | implementation. Rip out automatic global snotice code. It's not going to be *that* difficult to trigger global snotice with protocol interface now anyway I guess. We need to re-add calls to protocol interfaces in places like failed oper and so on. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9649 e03df62e-2008-0410-955e-edbf42e46eb7
* Remoteconnect and remotequit should be local-only snomasksGravatar brain2008-04-231-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9583 e03df62e-2008-0410-955e-edbf42e46eb7
* FixGravatar w00t2008-04-231-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9580 e03df62e-2008-0410-955e-edbf42e46eb7
* Warn, don't throw..Gravatar w00t2008-04-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9579 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug found by peavey, which much frustrated him and w00t. He leiks ↵Gravatar brain2008-04-211-1/+1
| | | | | | mudkipz. Also fix bug #522 reported by Casey git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9575 e03df62e-2008-0410-955e-edbf42e46eb7
* Hack, hack, hack, hack hack. Hack hack. Probably fix snotice loops, though.Gravatar w00t2008-04-211-0/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9573 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge in large patchset from GreenReaper, useful fixes for freeing a ton of ↵Gravatar brain2008-04-211-1/+6
| | | | | | different things on shutdown for tidyness, and a few stack corruption fixes in the mode handler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9565 e03df62e-2008-0410-955e-edbf42e46eb7
* Add potential for local-only snotices and use them for the ones that should ↵Gravatar w00t2008-04-171-8/+15
| | | | | | be local. Individual messages cannot be made local-only, but I can't think of circumstances where this is necessary. Let's write it when it *is* necessary. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9527 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove debug from snomask flushing, and send ALL snotices globally ↵Gravatar w00t2008-04-171-2/+5
| | | | | | automagically (this probably means that calling SendSNONotice calls can be removed from places where they were added individually. XXX this needs fixing in two places: some snomasks are entirely local (local connect/quit) and some individual snotices may wish to be local only (though I can't think of any right now) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9525 e03df62e-2008-0410-955e-edbf42e46eb7
* Make K|G|Z|ELine actually work with a nickname target (code was there but ↵Gravatar w00t2008-02-101-1/+1
| | | | | | not functional) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8866 e03df62e-2008-0410-955e-edbf42e46eb7
* Move some stuff to usermanager, remove a little header insanity, remove ↵Gravatar w00t2008-02-021-1/+1
| | | | | | trace because it's still less useful than a chocolate fireman. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8790 e03df62e-2008-0410-955e-edbf42e46eb7