summaryrefslogtreecommitdiff
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Branch for beta 6 Juletre•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6037 e03df62e-2008-0410-955e-edbf42e46eb7 v1.1.0b6Gravatar brain2006-12-171-1/+1
* Fix this (at last) to only log commands which are operonly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6036 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-171-4/+7
* Correctly send TS in JOIN so that services packages etc dont become desynched...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6034 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-171-0/+1
* Dont use FJOIN to join users to channels outside the burst (revert to earlier...•••operation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6032 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-171-11/+14
* Invented safe delete-while-itering for hash_map.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6029 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-171-10/+20
* When receiving an FJOIN, if we have no local users, dont send deops, this jus...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6028 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-172-16/+26
* Handle removal of permenant svsholds•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6027 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-171-2/+10
* Fix potential crash, not enough parameters for va_arg when adding perm SVSHOLD•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6026 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-171-1/+1
* Fix a little = turned into a ==•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6025 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-171-1/+1
* Use safe iter for deleting while iterating•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6024 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-171-23/+12
* someone test this please•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6023 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-171-44/+72
* If the caller said no linefeeds, dont bail, instead just turn the linefeeds i...•••"aaaa bbbb" becomes "aaaa bbbb". git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6022 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-171-3/+6
* Add format="" value, at request of Emeric.•••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 Gravatar brain2006-12-161-1/+17
* 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-163-3/+17
* Add stuff so that the core catches CoreException properly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6017 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-165-23/+22
* Allow linefeeds in this module in one value•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6016 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-161-3/+1
* Tidy up text formatting•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6015 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-161-1/+1
* Change m_helpop to use the new boolean flag in ReadConf for allowing newlines...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6014 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-161-6/+12
* Add an optional parameter to ConfigReader::ReadValue which defines if we want...•••Tidy up some duplicated code in configreader (error reporting) Change ModuleException to inherit from CoreException, have the configreader throw and catch its CoreException on fatal error git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6013 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-162-145/+132
* Add some comments to explain whats going off in one of the TreeSocket constru...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6011 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-161-2/+6
* Not sending capab when theres no transport module attached to a server socket•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6010 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-161-0/+4
* Get rid of HelpopException, use ModuleException thats had reasons for ages now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6009 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-161-18/+3
* w00t: the power to rewrite modules in the leap of a small tiredness barrier. ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6008 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-161-108/+48
* Make SNO notice for +o global•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6007 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-161-0/+2
* Make irc::spacify take 'const char*' instead of 'char*'•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6005 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-161-1/+1
* Linefeeds in quotes, just for w00t.•••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 Gravatar brain2006-12-162-7/+27
* Usermode +G allowed opers to change other user's modes. As the core doesn't f...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6002 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-161-4/+0
* Fix setting of * for bans in m_messageflood, this has been broken for quite s...•••Spotted on barafranca, tested on chatspike. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6001 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-163-4/+4
* s/ChatSpike/InspIRCd/ development team•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5999 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-2/+1
* Still more massive commit fun. Headers in include/ still to be done, else tha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5997 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-1538-111/+324
* 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-1579-473/+206
* Remove global namespacing, makes modules compile FASTAH. Also massive update ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-1596-765/+440
* Try harder to make sure the ERROR string gets sent when closing a connection•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5994 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-151-0/+4
* Cleaning up irrelevent stuff in channels.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5993 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-153-38/+14
* Remove commented out FlushWriteBuf()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5992 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-141-6/+0
* Remove misc debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5991 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-141-7/+0
* Fix silly bug of the day.•••User was only getting a userrec::chans entry added if they had any privelages on the channel. If they werent opped, voiced, or halfopped on join, no entry in the hash. Silly brain now added a: user->chans[Ptr] = 0; :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5990 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-143-10/+19
* Remove FlushWriteBuffer() from DoBackgroundUserStuff(). Its no longer require...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5989 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-141-1/+1
* CPU Usage percent in stats z! yay!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5988 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-142-0/+19
* Change how users are quit if they get a write error during the things they do.•••Instead of QuitUser inside FlushWriteBuffer() (potentially *UNSAFE*), go back to using SetWriteError(), but to ensure we dont get a cascade of bad write events from the socket engine, QuitUser the user before returning in userrec::HandleEvent, after we can gaurantee ALL other reading or writing is done. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5987 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-142-6/+15
* Refactor userrec::chans.•••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 Gravatar brain2006-12-149-284/+183
* Refactoring:•••1) Chain together a resize and an append, to improve the buffer read efficiency 2) eliminate a const char* pointer by doing it purely with string, saving a data copy 3) use iterators rather than ints and vector::size() for spooling motd and rules files to users 4) change a usage of !length() to empty() to make it more readable git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5985 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-141-18/+9
* Fix m_watch to properly use OnCleanup, and to delete pointer on quit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5984 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-1/+19
* Comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5981 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-17/+54
* Turn watchlist back to map. watchlist is small, watchentries is large, only w...•••(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 Gravatar brain2006-12-131-4/+4
* Change m_watch to use hash_map rather than map, because of the large number o...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5979 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-132-4/+12
* Improve the way 005 ISUPPORT is sent to users when they connect, cache it in ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5978 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-135-59/+36
* Properly fix 'changed nickname from one thats on your notify to one thats not...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5977 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-1/+3
* Whoops, one too many params•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5976 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-1/+1
* Fix /nick signoff message•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5975 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-1/+1