summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2007-08-27Fix to use DuplicateID. This stops things segfaulting on duplicate SID ↵w00t
introduction, which is, of course, bad. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7923 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Add bool TreeSocket::DuplicateID(), as its not safe to throw then try and ↵brain
squit that server :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7922 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Well, this probably works. But it might not. :D.w00t
- If a server is introduced with an already-existing SID, kill it off the network. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7921 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Move SID into TreeSocket constructor. w00t, search for "new TreeSocket" to ↵brain
see where to catch git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7920 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27This may need tidying up to make SetID internal and do this in the ↵brain
constructor, but for now it works. AWOOGA AWOOGA WARNING: SetID can throw a CoreException if the id already exists! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7919 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Store id in TreeServer, use TreeServer::GetID() to get the id (NOTE: it is ↵brain
std::string) Server id sent on all outbound and inbound SERVER now. last parameter before desc. Min params for SERVER is now 5, not 4. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7918 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Remove check for duplicate UUID, constructor of userrec throws for us insteadw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7916 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Update comment to say we need to SQUIT. This is a minor thing so im not ↵brain
going to fix it yet git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7913 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27This comment is no longer validw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7912 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Document the use of SVSNICK to fix a remote user on collidew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7911 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Okay. Make it compile too, and make equal TS collision work correctly.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7910 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Nickname collision: third revisitationw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7909 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Don't try do lookups by nickname any more, all s2s traffic should be using ↵w00t
UID now. If it's not, well, we need to know anyway. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7907 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Remove some old style compatibility checking for 1.0-alpha servers, this ↵w00t
really isn't needed anymore, as they will ERROR off anyway with an unknown command git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7906 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27nickflood: Allow changes to UIDw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7905 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27nicklock: Allow change to a UIDw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7904 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27restrictbanned: Allow changes to UIDw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7903 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27nonicks: allow switches to UID, so we don't get loads of unnecessary kills ↵w00t
on collides/svsnick git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7902 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27If SVSNICK fails, attempt to change to UID, before quitting as a last resort ↵w00t
(if a module disallows change to a UID, they need shooting) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7901 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27TS may be a more elegant solution, but it is fucking horrible to write code ↵w00t
for, and hard to get right. Let's just change both. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7900 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Oops, forgot a branch (the logic here totally sucks, it will need cleaning ↵w00t
up. I want to get it working first.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7899 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Nick collision handling with TS rules. This probably doesn't work yet.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7898 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Remove some printfsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7897 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Fix for problems with translationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7896 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Debug to try figure this out ..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7895 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Add a metric assload of TRANSLATE macros to modules.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7892 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Translation of mode parameters to uids where neccessarybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7891 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Some useful defines for tidy definition of translation lists. See ↵brain
constructor of cmd_cban in m_cban.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7890 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Auto translation nick->uuid for command params should now work in all ↵brain
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
2007-08-27More translation stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7888 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Remove unnecessary header trafficw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7885 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27A few tidyups, and comment how the new constructors work (so that w00t ↵brain
doesnt wonder where the feck his strlcpys went) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7875 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Allocate uid in userrec constructor. Optional param added, if its empty, the ↵brain
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
2007-08-27Fix obligotary typosbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7870 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Translate some stuff to uid.brain
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
2007-08-27Make this lookup by UUID ahead of nick also, so things work properly.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7865 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Make the server to server parser look for UUID. Currently it will fall back ↵w00t
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
2007-08-27Oops, don't forget to save UUID of remote clientsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7863 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Make FJOIN send UUIDw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7862 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Convert a metric assload of stuff to use UIDw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7861 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Send UID (not nick) on client connectionw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7860 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Send UID prefix on module commands across links.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7859 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Paranoia: Check for UUID collision on UID reciept, remove both clients if a ↵w00t
collision occurs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7858 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27This will royally fuck 1.2's linking right now, but..w00t
- 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
2007-08-27Fix to SVSJOIN: disallow invalid channel names. Needs backport.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7852 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Bump ABI version and protocol version. Note that this really means 1.1 and ↵w00t
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
2007-08-26Make this compile, was missing a (peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7843 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Add 'you are banned' numeric to banredirect output, from avenger's patchw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7842 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Hide remote oper up notices if quiet bursts are enabled etc. Adapted from ↵w00t
avenger's patch. Untested. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7840 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Fix for bug #376 - FEATURE - (sorry w00t) - not backporting to stable.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7835 e03df62e-2008-0410-955e-edbf42e46eb7