summaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix this (at last) to only log commands which are operonlyGravatar brain2006-12-171-4/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6036 e03df62e-2008-0410-955e-edbf42e46eb7
* Correctly send TS in JOIN so that services packages etc dont become ↵Gravatar brain2006-12-171-0/+1
| | | | | | desynched (plus our own protocol docs say we do this when we send JOIN, oops breaking my own standards now) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6034 e03df62e-2008-0410-955e-edbf42e46eb7
* Dont use FJOIN to join users to channels outside the burst (revert to ↵Gravatar brain2006-12-171-11/+14
| | | | | | | | | earlier betas behaviour) which should prevent some spurious deops during normal operation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6032 e03df62e-2008-0410-955e-edbf42e46eb7
* When receiving an FJOIN, if we have no local users, dont send deops, this ↵Gravatar brain2006-12-171-1/+15
| | | | | | just contributes to pointless server noise git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6028 e03df62e-2008-0410-955e-edbf42e46eb7
* Handle removal of permenant svsholdsGravatar brain2006-12-171-2/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6027 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix potential crash, not enough parameters for va_arg when adding perm SVSHOLDGravatar brain2006-12-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6026 e03df62e-2008-0410-955e-edbf42e46eb7
* Use safe iter for deleting while iteratingGravatar peavey2006-12-171-23/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6024 e03df62e-2008-0410-955e-edbf42e46eb7
* someone test this pleaseGravatar brain2006-12-171-44/+72
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6023 e03df62e-2008-0410-955e-edbf42e46eb7
* Add format="" value, at request of Emeric.Gravatar brain2006-12-161-1/+17
| | | | | | | See: http://www.inspircd.org/forum/index.php/topic,245.0.html git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6019 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow linefeeds in this module in one valueGravatar brain2006-12-161-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6016 e03df62e-2008-0410-955e-edbf42e46eb7
* Change m_helpop to use the new boolean flag in ReadConf for allowing ↵Gravatar brain2006-12-161-6/+12
| | | | | | newlines, tidy up text formatting a bit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6014 e03df62e-2008-0410-955e-edbf42e46eb7
* Add some comments to explain whats going off in one of the TreeSocket ↵Gravatar brain2006-12-161-2/+6
| | | | | | constructors git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6011 e03df62e-2008-0410-955e-edbf42e46eb7
* Not sending capab when theres no transport module attached to a server socketGravatar brain2006-12-161-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6010 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of HelpopException, use ModuleException thats had reasons for ages nowGravatar brain2006-12-161-18/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6009 e03df62e-2008-0410-955e-edbf42e46eb7
* w00t: the power to rewrite modules in the leap of a small tiredness barrier. ↵Gravatar w00t2006-12-161-108/+48
| | | | | | helpop refactored to use a leet cached map lookup, should be fast, leet, cool, etc. I'm going to bed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6008 e03df62e-2008-0410-955e-edbf42e46eb7
* Make SNO notice for +o globalGravatar peavey2006-12-161-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6007 e03df62e-2008-0410-955e-edbf42e46eb7
* Linefeeds in quotes, just for w00t.Gravatar brain2006-12-161-0/+3
| | | | | | | WARNING: THIS NEEDS SOME EXTRA STUFF TOMORROW: Someone remind me to add a 'no linefeeds' bool flag to ConfigReader::ReadValue, because a lot of values should NOT have linefeeds in! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6004 e03df62e-2008-0410-955e-edbf42e46eb7
* Usermode +G allowed opers to change other user's modes. As the core doesn't ↵Gravatar w00t2006-12-161-4/+0
| | | | | | follow this behaviour anymore, neither does it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6002 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix setting of * for bans in m_messageflood, this has been broken for quite ↵Gravatar brain2006-12-162-3/+4
| | | | | | | | | some time and nobody noticed? :P Spotted on barafranca, tested on chatspike. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6001 e03df62e-2008-0410-955e-edbf42e46eb7
* Still more massive commit fun. Headers in include/ still to be done, else ↵Gravatar w00t2006-12-1519-109/+103
| | | | | | that's it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5997 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove global namespacing, makes modules compile FASTAH. Also massive update ↵Gravatar w00t2006-12-1596-765/+440
| | | | | | 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
* Refactor userrec::chans.Gravatar brain2006-12-144-29/+16
| | | | | | | | | Old way: A vector of ucrec, MAXCHANS in size by default populated by NULLS, so you have to scan the vector to find an empty slot when joining a user, parting a user etc New way: std::map<chanrec*, char> (the char holds their basic core permissions on the channel [voice, halfop, op]) This increases speed a ton, and removes some wtf-age. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5986 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix m_watch to properly use OnCleanup, and to delete pointer on quitGravatar brain2006-12-131-1/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5984 e03df62e-2008-0410-955e-edbf42e46eb7
* CommentsGravatar brain2006-12-131-17/+54
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5981 e03df62e-2008-0410-955e-edbf42e46eb7
* Turn watchlist back to map. watchlist is small, watchentries is large, only ↵Gravatar brain2006-12-131-4/+4
| | | | | | | | | watchentries needs to be hash_map (watchentries is the primary index of whos watching each nick, watchlist is the small nicklist attached to each user) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5980 e03df62e-2008-0410-955e-edbf42e46eb7
* Change m_watch to use hash_map rather than map, because of the large number ↵Gravatar brain2006-12-131-4/+4
| | | | | | of entries we deal with it will usually be faster git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5979 e03df62e-2008-0410-955e-edbf42e46eb7
* Improve the way 005 ISUPPORT is sent to users when they connect, cache it in ↵Gravatar brain2006-12-131-18/+1
| | | | | | a much more sane format which is much simpler to spool to them git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5978 e03df62e-2008-0410-955e-edbf42e46eb7
* Properly fix 'changed nickname from one thats on your notify to one thats ↵Gravatar brain2006-12-131-1/+3
| | | | | | not' condition. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5977 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, one too many paramsGravatar brain2006-12-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5976 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix /nick signoff messageGravatar brain2006-12-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5975 e03df62e-2008-0410-955e-edbf42e46eb7
* More to fix.Gravatar brain2006-12-131-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5974 e03df62e-2008-0410-955e-edbf42e46eb7
* Make this behave more like other WATCH implementationsGravatar brain2006-12-131-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5973 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix quite a few whoopsiesGravatar brain2006-12-131-7/+33
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5972 e03df62e-2008-0410-955e-edbf42e46eb7
* Untested! New m_watch that should be hundreds of times faster (im not joking ↵Gravatar brain2006-12-131-164/+207
| | | | | | either) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5971 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unused debugGravatar brain2006-12-121-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5969 e03df62e-2008-0410-955e-edbf42e46eb7
* New clone counting mechanism (this isnt tested yet)Gravatar brain2006-12-121-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5967 e03df62e-2008-0410-955e-edbf42e46eb7
* Make FounderProtectBase::remove_own_privs a reference, so we can change it ↵Gravatar brain2006-12-121-2/+2
| | | | | | on the fly without needing to re-construct the objects git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5966 e03df62e-2008-0410-955e-edbf42e46eb7
* Someone forgot to do founder too :pGravatar brain2006-12-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5965 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a pretty nasty bug that allowed users to +a themselves if ↵Gravatar special2006-12-121-1/+1
| | | | | | deprotectself was enabled (thanks webs) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5963 e03df62e-2008-0410-955e-edbf42e46eb7
* Reverted om's commit so we can keep laughing at him for never doing anythingGravatar special2006-12-121-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5962 e03df62e-2008-0410-955e-edbf42e46eb7
* I yell 'LIES' in the face of anyone who says I don't commitGravatar om2006-12-121-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5961 e03df62e-2008-0410-955e-edbf42e46eb7
* AnMaster thinks im not committing enough, so heres a pointless commit for him.Gravatar brain2006-12-121-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5960 e03df62e-2008-0410-955e-edbf42e46eb7
* More commentsGravatar brain2006-12-121-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5959 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix trivial broken stat counterGravatar brain2006-12-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5958 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, forgot to unpublish the interface!Gravatar brain2006-12-121-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5957 e03df62e-2008-0410-955e-edbf42e46eb7
* Just commentsGravatar brain2006-12-111-8/+36
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5955 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up a loop a bit so it isnt for(;;) with a breakGravatar brain2006-12-111-28/+33
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5954 e03df62e-2008-0410-955e-edbf42e46eb7
* And fix the typos in it.Gravatar brain2006-12-111-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5953 e03df62e-2008-0410-955e-edbf42e46eb7
* Attempt another speedupGravatar brain2006-12-111-8/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5952 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix kinda stupid whoopsieGravatar brain2006-12-111-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5951 e03df62e-2008-0410-955e-edbf42e46eb7