summaryrefslogtreecommitdiff
path: root/src/snomasks.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* ANNOUNCENENT -> ANNOUNCEMENTGravatar brain2008-01-261-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8754 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix.. snomask O is already taken (ffs) so use A insteadGravatar w00t2008-01-171-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd::WriteOpers in favour of snomask OGravatar w00t2008-01-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728 e03df62e-2008-0410-955e-edbf42e46eb7
* Start converting WriteOpers calls into snomask 'O' -- generic oper notices.Gravatar w00t2008-01-171-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8727 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a bug (snotices repeating constantly), and add a flush timer (1x5 seconds)Gravatar w00t2008-01-051-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8639 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix snomask stacking, still needs to flush all snomasks on a timer to avoid ↵Gravatar w00t2008-01-051-0/+5
| | | | | | messages getting too stacked up.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8638 e03df62e-2008-0410-955e-edbf42e46eb7
* Snomask stacking: not yet working (crashes), and not quite finishedGravatar w00t2008-01-051-12/+37
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8637 e03df62e-2008-0410-955e-edbf42e46eb7
* Add SnomaskManager::FlushSnotices() stubGravatar w00t2008-01-051-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8636 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove the need for a bunch of the hard coded arrays/hashes by scanning the ↵Gravatar brain2007-10-221-0/+2
| | | | | | src/ dir for tag comments, like in modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8307 e03df62e-2008-0410-955e-edbf42e46eb7
* In the grand tradition of huge fucking commits:Gravatar w00t2007-10-151-2/+2
| | | | | | | | - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed bug #404; this was caused by recieving multiple OPERTYPEs from a ↵Gravatar special2007-09-261-1/+1
| | | | | | remote server, which eventually resulted in bad pointers inside the all_opers list git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8084 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove more unnecessary header trafficGravatar w00t2007-08-271-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7887 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup a bunch of stuff that was using userrec::modes directly rather than ↵Gravatar brain2007-07-231-1/+1
| | | | | | userrec::IsModeSet. Same for chanrec. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7506 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-161-1/+102
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵Gravatar peavey2007-07-161-102/+1
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
* Enable SNOMASK 'K' (remote kill), and use it in cmd_kill. This has the side ↵Gravatar w00t2007-06-081-9/+10
| | | | | | effect of hiding kills from a server prefix at the moment as they work differently (ugh). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7260 e03df62e-2008-0410-955e-edbf42e46eb7
* It seems that making inspircd.h the first include in .cpp files eliminates ↵Gravatar brain2007-05-211-0/+1
| | | | | | the warning C4996, as the defines to prevent it are set before any includes that cause it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7094 e03df62e-2008-0410-955e-edbf42e46eb7
* Visual studio's ability to translate tabs to four spaces as default ↵Gravatar brain2007-05-191-1/+1
| | | | | | frustrates and peplexes tabnazi cat. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7047 e03df62e-2008-0410-955e-edbf42e46eb7
* Jesus, look who's the commit whore today. More header updates, and removal ↵Gravatar w00t2006-12-151-5/+2
| | | | | | of namespacing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5996 e03df62e-2008-0410-955e-edbf42e46eb7
* Add snomask f (flood)Gravatar brain2006-09-011-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5097 e03df62e-2008-0410-955e-edbf42e46eb7