aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Changing by-value parameters to const referencesGravatar om2006-03-091-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3605 e03df62e-2008-0410-955e-edbf42e46eb7
* SpeedupsGravatar brain2006-03-092-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3602 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup to pass some stuff by reference (much faster, no copy involved)Gravatar brain2006-03-091-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3601 e03df62e-2008-0410-955e-edbf42e46eb7
* UM_WALLOPS had value 3 which was a combination of UM_SERVERNOTICE and ↵Gravatar brain2006-03-091-1/+1
| | | | | | UM_INVISIBLE :/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3591 e03df62e-2008-0410-955e-edbf42e46eb7
* Added userrec::modebits - fast way of checking if user has +swi rather than ↵Gravatar brain2006-03-092-0/+13
| | | | | | an icky strchr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3588 e03df62e-2008-0410-955e-edbf42e46eb7
* Probably wont compile yet - purge_empty_channels refactorGravatar brain2006-03-092-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3579 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed deprecated Server::IsOnChannel (was a C++-ish wrapper to the C-ish ↵Gravatar brain2006-03-081-5/+0
| | | | | | has_channel, no longer needed) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3562 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed externsGravatar brain2006-03-081-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3561 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed has_channel(userrec*,chanrec*), the new preferred way of doing it is ↵Gravatar brain2006-03-081-25/+29
| | | | | | | | | channel->HasUser(userrec) Yeah its the other way around to the old way, but somehow, seems less backwards to me (its also faster) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3560 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed declarations of ancient and misspelled functions :/Gravatar brain2006-03-081-7/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3559 e03df62e-2008-0410-955e-edbf42e46eb7
* cmode was declared here too - declaration removed.Gravatar brain2006-03-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3558 e03df62e-2008-0410-955e-edbf42e46eb7
* cmode now returns const char* as it returns a pointer to a literal string ↵Gravatar brain2006-03-081-1/+1
| | | | | | and shouldnt be messed with git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3557 e03df62e-2008-0410-955e-edbf42e46eb7
* Got rid of all that ugly char* cast crap (todo: change docs to reflect change)Gravatar brain2006-03-081-16/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3556 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed #defines to be enums (tidier)Gravatar brain2006-03-081-13/+14
| | | | | | | Removed UCMODE_PROTECT/UCMODE_FOUNDER git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3555 e03df62e-2008-0410-955e-edbf42e46eb7
* Actually, 64.Gravatar brain2006-03-081-1/+1
| | | | | | | (256-64-128) = 64 chars printable alphabet (roughly) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3552 e03df62e-2008-0410-955e-edbf42e46eb7
* chanrec::custom_modes only needs 96 values not 190Gravatar brain2006-03-081-1/+1
| | | | | | | (256 - 32 - 128) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3551 e03df62e-2008-0410-955e-edbf42e46eb7
* *TEST* Server::DumpText - Dump a *stringstream* to a user with a std::string ↵Gravatar brain2006-03-071-0/+2
| | | | | | | | | prefix, splitting at 512 boundaries. Much more useful than cannibalizing a specialized function git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3535 e03df62e-2008-0410-955e-edbf42e46eb7
* Made split_chlist available for external use from commands.hGravatar brain2006-03-071-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3533 e03df62e-2008-0410-955e-edbf42e46eb7
* Safety checking (a really really clever trick btw) in CullList, to make sure ↵Gravatar brain2006-03-071-2/+5
| | | | | | that the user we're removing IS the user that was marked for deletion X seconds ago, even if the user has since quit, to be replaced by another unfortunate wretch who was given the same pointer address (eeep) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3529 e03df62e-2008-0410-955e-edbf42e46eb7
* Whowas refactor - probably wont compile yetGravatar brain2006-03-072-11/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3523 e03df62e-2008-0410-955e-edbf42e46eb7
* Tweaks to socket engine, faster buffer flush and hopefully more stableGravatar brain2006-03-071-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3521 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for write errors in inspsocket (this is probably causing excessive ↵Gravatar brain2006-03-071-2/+2
| | | | | | cpu use when we have a large buffer to flush but a write error has occured (which we missed)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3518 e03df62e-2008-0410-955e-edbf42e46eb7
* *TEST CODE* Faster custom mode set/unsetGravatar brain2006-03-071-15/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3508 e03df62e-2008-0410-955e-edbf42e46eb7
* No need to be inline in the includeGravatar brain2006-03-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3502 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidied GetMaxBans to leave the ConfigReader subsystem aloneGravatar brain2006-03-061-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3491 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidied up give/take methodsGravatar brain2006-03-061-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3482 e03df62e-2008-0410-955e-edbf42e46eb7
* Mode-code rewrite. Might act weird, needs proper testing (that is what svn ↵Gravatar brain2006-03-061-0/+1
| | | | | | builds are for, after all) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3474 e03df62e-2008-0410-955e-edbf42e46eb7
* Sped up introduction of nicks using vector::resize() rather than the craq++ ↵Gravatar brain2006-03-051-1/+1
| | | | | | | | | loop (wtf was i thinking doing it that way?) Removed 'client connecting notices dont show locally during burst' -- this is silly as it doesnt work remotely and is pretty much pointless git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3460 e03df62e-2008-0410-955e-edbf42e46eb7
* Added IS_SINGLE, see comment in include/inspircd.hGravatar brain2006-03-021-16/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3438 e03df62e-2008-0410-955e-edbf42e46eb7
* *UNTESTED* speeding up HasPermission by factor of hundreds, avoid using ↵Gravatar brain2006-03-021-0/+1
| | | | | | EnumConf and ConfValue outside of rehash *AT ALL* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3430 e03df62e-2008-0410-955e-edbf42e46eb7
* is_uline was an inefficient piece of crap - fixed.Gravatar brain2006-03-021-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3428 e03df62e-2008-0410-955e-edbf42e46eb7
* Made host fields more correct 64 in length with 63 copiesGravatar brain2006-03-022-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3425 e03df62e-2008-0410-955e-edbf42e46eb7
* Made extensive use of charlcat to cut down on strlcat usageGravatar brain2006-03-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3417 e03df62e-2008-0410-955e-edbf42e46eb7
* Added charlcat which appends a single char to a char* string (range checked)Gravatar brain2006-03-021-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3416 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed definition of CallHandler and CallCommandHandler for the ability to ↵Gravatar brain2006-03-022-2/+3
| | | | | | | | | return false on bad command. This allows us to terminate server links that send commands we dont know (e.g. admin loads module A after linking, we dont have module A, when it sends module A's command, abort) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3414 e03df62e-2008-0410-955e-edbf42e46eb7
* BanHidingGravatar brain2006-02-281-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3384 e03df62e-2008-0410-955e-edbf42e46eb7
* Made it safe to quits and nickchangesGravatar brain2006-02-281-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3379 e03df62e-2008-0410-955e-edbf42e46eb7
* Add comment stressing the importance of certain elements of this fileGravatar om2006-02-271-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3377 e03df62e-2008-0410-955e-edbf42e46eb7
* Test twoGravatar brain2006-02-271-9/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3362 e03df62e-2008-0410-955e-edbf42e46eb7
* Constant eating 20% cpu since last nights commit - test fixGravatar brain2006-02-271-0/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3361 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved the contents of the mainloop into a function called ↵Gravatar brain2006-02-261-0/+1
| | | | | | | | | InspIRCd::DoOneIteration(). We can then use this to 'yield' if incoming server text is taking too long to process git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3342 e03df62e-2008-0410-955e-edbf42e46eb7
* Nothing to see here, nothing, at all.Gravatar om2006-02-241-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3316 e03df62e-2008-0410-955e-edbf42e46eb7
* Look-behind for missed timers up to 2 minutes (if your ircd has hung for 2 ↵Gravatar brain2006-02-231-0/+1
| | | | | | minutes, or your clock drift is > 2 mins, you have bigger fish to fry, like dead network or TS split) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3310 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved timer stuff from OnBackgroundTimer to InspTimer derivativeGravatar brain2006-02-231-2/+23
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3305 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed to workGravatar brain2006-02-231-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3302 e03df62e-2008-0410-955e-edbf42e46eb7
* Incorporating InspTimer into safelist as a testGravatar brain2006-02-232-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3301 e03df62e-2008-0410-955e-edbf42e46eb7
* FixesGravatar brain2006-02-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3300 e03df62e-2008-0410-955e-edbf42e46eb7
* First revision of new timer code, not in the makefile yet (so it wont build ↵Gravatar brain2006-02-231-0/+15
| | | | | | till im done) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3297 e03df62e-2008-0410-955e-edbf42e46eb7
* Added m_safelist helper functions GetChannelCount and GetChannelIndexGravatar brain2006-02-221-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3287 e03df62e-2008-0410-955e-edbf42e46eb7
* FixedGravatar brain2006-02-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3275 e03df62e-2008-0410-955e-edbf42e46eb7