aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix for problems with translationsGravatar brain2007-08-271-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7896 e03df62e-2008-0410-955e-edbf42e46eb7
* Debug to try figure this out ..Gravatar w00t2007-08-272-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7895 e03df62e-2008-0410-955e-edbf42e46eb7
* TranslateUIDs now correctly returns number of substitutions madeGravatar brain2007-08-271-0/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7893 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a metric assload of TRANSLATE macros to modules.Gravatar w00t2007-08-2728-0/+58
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7892 e03df62e-2008-0410-955e-edbf42e46eb7
* Translation of mode parameters to uids where neccessaryGravatar brain2007-08-271-9/+24
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7891 e03df62e-2008-0410-955e-edbf42e46eb7
* Some useful defines for tidy definition of translation lists. See ↵Gravatar brain2007-08-272-0/+2
| | | | | | constructor of cmd_cban in m_cban.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7890 e03df62e-2008-0410-955e-edbf42e46eb7
* Auto translation nick->uuid for command params should now work in all ↵Gravatar brain2007-08-272-2/+32
| | | | | | modules which set their translation types. None do atm. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7889 e03df62e-2008-0410-955e-edbf42e46eb7
* More translation stuffGravatar brain2007-08-272-8/+47
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7888 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove more unnecessary header trafficGravatar w00t2007-08-2773-159/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7887 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unnecessary header trafficGravatar w00t2007-08-27114-380/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7885 e03df62e-2008-0410-955e-edbf42e46eb7
* Changes to UID generation:Gravatar w00t2007-08-271-12/+25
| | | | | | | | - Endless loop until we find a UID that is in use (this will be problematic if we get 2 billion users to a server..) - Once we reach the end of the UID namespace, start back at AAAA - Remove an unneeded allocation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7884 e03df62e-2008-0410-955e-edbf42e46eb7
* Add FindNickOnly, that wont fall through to uid checks if isdigit(*first). ↵Gravatar brain2007-08-273-6/+33
| | | | | | | | | We may need this. (i thought we did for this fix, we dont) Fix cmd_nick to not treat all nicks as invalid and make the client give up. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7883 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, i had a ! and i didnt need oneGravatar brain2007-08-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7882 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed sigabrtGravatar brain2007-08-271-1/+4
| | | | | | | NOTE to w00t: When a user gets allocated a uid that is duplicate, the constructor throws. This was happening because i didnt pay attention to what i wrote and it always added uid "" :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7881 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #401 reported by DarkStormGravatar brain2007-08-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7879 e03df62e-2008-0410-955e-edbf42e46eb7
* Add options:maxtargets that was somehow omitted, fixes bug #400 (Reported by ↵Gravatar brain2007-08-271-0/+1
| | | | | | DarkStorm) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7877 e03df62e-2008-0410-955e-edbf42e46eb7
* Add uuid hash_map - its management is automatic via userrec ↵Gravatar brain2007-08-273-9/+20
| | | | | | | | | constructors/destructors. Note that this means 'fake' users used to set modes etc get a uid, but this isnt a major thing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7876 e03df62e-2008-0410-955e-edbf42e46eb7
* A few tidyups, and comment how the new constructors work (so that w00t ↵Gravatar brain2007-08-272-2/+10
| | | | | | doesnt wonder where the feck his strlcpys went) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7875 e03df62e-2008-0410-955e-edbf42e46eb7
* More uuid fixes, and whack some warningsGravatar brain2007-08-272-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7874 e03df62e-2008-0410-955e-edbf42e46eb7
* Allocate uid in userrec constructor. Optional param added, if its empty, the ↵Gravatar brain2007-08-272-26/+8
| | | | | | | | | server allocates one, if its not empty the user gets the one given (this is used for remote users) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7873 e03df62e-2008-0410-955e-edbf42e46eb7
* Squash warningGravatar brain2007-08-271-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7872 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix obligotary typosGravatar brain2007-08-272-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7870 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a call to the NICK handler that allows toggling of allowing invalid ↵Gravatar brain2007-08-272-3/+16
| | | | | | | | | nicks to on or off. Use it in ForceNickChange to allow forced nickchange of a nick to a uid. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7869 e03df62e-2008-0410-955e-edbf42e46eb7
* Make nickname-overruled rules change the user back to their uid, not to ↵Gravatar brain2007-08-271-11/+4
| | | | | | nnn-unknown git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7868 e03df62e-2008-0410-955e-edbf42e46eb7
* When a numeric nick is passed to FindNick, we call FindUUID insteadGravatar brain2007-08-271-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7867 e03df62e-2008-0410-955e-edbf42e46eb7
* Translate some stuff to uid.Gravatar brain2007-08-271-17/+26
| | | | | | | stuff with a comment 'XXX UID' needs addressing (probably by me) today. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7866 e03df62e-2008-0410-955e-edbf42e46eb7
* Make this lookup by UUID ahead of nick also, so things work properly.Gravatar w00t2007-08-271-1/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7865 e03df62e-2008-0410-955e-edbf42e46eb7
* Make the server to server parser look for UUID. Currently it will fall back ↵Gravatar w00t2007-08-271-4/+24
| | | | | | and try to find by nick too, to help catch legacy use of nickname prefixes. This will not be the case eventually. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7864 e03df62e-2008-0410-955e-edbf42e46eb7
* Oops, don't forget to save UUID of remote clientsGravatar w00t2007-08-271-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7863 e03df62e-2008-0410-955e-edbf42e46eb7
* Make FJOIN send UUIDGravatar w00t2007-08-272-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7862 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert a metric assload of stuff to use UIDGravatar w00t2007-08-272-27/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7861 e03df62e-2008-0410-955e-edbf42e46eb7
* Send UID (not nick) on client connectionGravatar w00t2007-08-271-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7860 e03df62e-2008-0410-955e-edbf42e46eb7
* Send UID prefix on module commands across links.Gravatar w00t2007-08-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7859 e03df62e-2008-0410-955e-edbf42e46eb7
* Paranoia: Check for UUID collision on UID reciept, remove both clients if a ↵Gravatar w00t2007-08-271-0/+10
| | | | | | collision occurs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7858 e03df62e-2008-0410-955e-edbf42e46eb7
* This will royally fuck 1.2's linking right now, but..Gravatar w00t2007-08-273-35/+44
| | | | | | | | | - Don't use NICK to introduce clients - DO use UID - On nick collide, change our client to their UID and let the other server do the same with theirs. The last point is currently the broken bit, see, we can't change a nick to something starting with a didget, because that breaks nick rules.. need to overcome this somehow. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7857 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix me not being able to code..Gravatar w00t2007-08-271-3/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7856 e03df62e-2008-0410-955e-edbf42e46eb7
* Add InspIRCd::FindUUID() methods. Currently, these work off an iteration ↵Gravatar w00t2007-08-271-0/+18
| | | | | | around the whole client list. This sucks, and will be changed to a map the same as FindNick(). Also update FindNick's docs a little out of anal habit: it returns a user, not a nick. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7855 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to SVSJOIN: disallow invalid channel names. Needs backport.Gravatar w00t2007-08-271-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7852 e03df62e-2008-0410-955e-edbf42e46eb7
* Now we know it works, remove debugGravatar brain2007-08-271-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7851 e03df62e-2008-0410-955e-edbf42e46eb7
* WhoopsGravatar brain2007-08-271-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7850 e03df62e-2008-0410-955e-edbf42e46eb7
* Automatic SID generation based on code similar to the STL hash function and ↵Gravatar brain2007-08-271-2/+12
| | | | | | using server name and server gecos git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7849 e03df62e-2008-0410-955e-edbf42e46eb7
* UUID is now generated and set on client add, and shown after 005 via numeric ↵Gravatar w00t2007-08-271-2/+8
| | | | | | 042: %s :your unique ID. This also replaces the fd-unknown style of nicks we used prior to recieving NICK from a client, just because it looks tidier. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7848 e03df62e-2008-0410-955e-edbf42e46eb7
* And zero UUID in constructor.Gravatar w00t2007-08-261-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7847 e03df62e-2008-0410-955e-edbf42e46eb7
* Initial UUID generation code. Generates a TS6 compatible UUID.Gravatar w00t2007-08-262-0/+68
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7846 e03df62e-2008-0410-955e-edbf42e46eb7
* Add skeleton functions for UID stuff.Gravatar w00t2007-08-261-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7845 e03df62e-2008-0410-955e-edbf42e46eb7
* Bump ABI version and protocol version. Note that this really means 1.1 and ↵Gravatar w00t2007-08-261-1/+1
| | | | | | 1.2 are diverged now, and won't link/load modules of each other. This is in preperation for me (possibly) messing with UID in trunk. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7844 e03df62e-2008-0410-955e-edbf42e46eb7
* Make this compile, was missing a (Gravatar peavey2007-08-261-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7843 e03df62e-2008-0410-955e-edbf42e46eb7
* Add 'you are banned' numeric to banredirect output, from avenger's patchGravatar w00t2007-08-261-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7842 e03df62e-2008-0410-955e-edbf42e46eb7
* Added new announceinvite setting i discussed briefly with w00t and i like ↵Gravatar brain2007-08-262-0/+8
| | | | | | | | | | | | | | | myself: # The value 'dynamic' varies between 'ops' and 'all' # # settings depending on if the channel is +i or not. # # When the channel is +i, messages go only to ops, # # and when the channel is not +i, messages go to # # everyone. In short, the messages will go to every # # user who has power of INVITE on the channel. This # # is the recommended setting. # git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7841 e03df62e-2008-0410-955e-edbf42e46eb7
* Hide remote oper up notices if quiet bursts are enabled etc. Adapted from ↵Gravatar w00t2007-08-261-1/+22
| | | | | | avenger's patch. Untested. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7840 e03df62e-2008-0410-955e-edbf42e46eb7