]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
brain [Mon, 27 Aug 2007 21:57:00 +0000 (21:57 +0000)]
Add bool TreeSocket::DuplicateID(), as its not safe to throw then try and squit that server :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7922
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 21:31:24 +0000 (21:31 +0000)]
Well, this probably works. But it might not. :D.
- 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
brain [Mon, 27 Aug 2007 21:18:57 +0000 (21:18 +0000)]
Move SID into TreeSocket constructor. w00t, search for "new TreeSocket" to see where to catch
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7920
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 21:09:46 +0000 (21:09 +0000)]
This may need tidying up to make SetID internal and do this in the 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
brain [Mon, 27 Aug 2007 20:50:07 +0000 (20:50 +0000)]
Store id in TreeServer, use TreeServer::GetID() to get the id (NOTE: it is 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
brain [Mon, 27 Aug 2007 19:56:38 +0000 (19:56 +0000)]
Add <server:id> - this is optional, as stated in the example conf,
and should only be set if you are getting collisions. The comment also points out that ids where either of the last two letters are numeric are reserved for services use (e.g. 0ZZ or 5CQ)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7917
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 19:35:31 +0000 (19:35 +0000)]
Remove check for duplicate UUID, constructor of userrec throws for us instead
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7916
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 19:32:07 +0000 (19:32 +0000)]
Update documentation to indicate that userrec::userrec() may throw on duplicate uuid
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7915
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 19:31:13 +0000 (19:31 +0000)]
Catch exceptions here for duplicate uuid (it shouldnt happen, which is why the exception message is so rediculous)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7914
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 19:23:17 +0000 (19:23 +0000)]
Update comment to say we need to SQUIT. This is a minor thing so im not going to fix it yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7913
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 19:15:06 +0000 (19:15 +0000)]
This comment is no longer valid
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7912
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 19:12:22 +0000 (19:12 +0000)]
Document the use of SVSNICK to fix a remote user on collide
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7911
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 19:05:26 +0000 (19:05 +0000)]
Okay. Make it compile too, and make equal TS collision work correctly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7910
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 19:02:32 +0000 (19:02 +0000)]
Nickname collision: third revisitation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7909
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 18:30:50 +0000 (18:30 +0000)]
NOTICE, PRIVMSG, WHOIS; dont allow local users to /msg <uid> etc. This prevents a primative possible type of 'stalking' of users.
We still need to use full FindNick for remote use.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7908
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 18:30:33 +0000 (18:30 +0000)]
Don't try do lookups by nickname any more, all s2s traffic should be using 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
w00t [Mon, 27 Aug 2007 18:26:53 +0000 (18:26 +0000)]
Remove some old style compatibility checking for 1.0-alpha servers, this 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
w00t [Mon, 27 Aug 2007 18:22:10 +0000 (18:22 +0000)]
nickflood: Allow changes to UID
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7905
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 18:21:22 +0000 (18:21 +0000)]
nicklock: Allow change to a UID
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7904
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 18:18:16 +0000 (18:18 +0000)]
restrictbanned: Allow changes to UID
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7903
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 18:17:10 +0000 (18:17 +0000)]
nonicks: allow switches to UID, so we don't get loads of unnecessary kills on collides/svsnick
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7902
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 18:15:26 +0000 (18:15 +0000)]
If SVSNICK fails, attempt to change to UID, before quitting as a last resort (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
w00t [Mon, 27 Aug 2007 17:43:23 +0000 (17:43 +0000)]
TS may be a more elegant solution, but it is fucking horrible to write code 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
w00t [Mon, 27 Aug 2007 17:34:57 +0000 (17:34 +0000)]
Oops, forgot a branch (the logic here totally sucks, it will need cleaning up. I want to get it working first.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7899
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 17:30:39 +0000 (17:30 +0000)]
Nick collision handling with TS rules. This probably doesn't work yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7898
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 16:50:28 +0000 (16:50 +0000)]
Remove some printfs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7897
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 16:47:30 +0000 (16:47 +0000)]
Fix for problems with translations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7896
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 16:39:32 +0000 (16:39 +0000)]
Debug to try figure this out ..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7895
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 16:08:21 +0000 (16:08 +0000)]
Add documentation comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7894
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 16:06:20 +0000 (16:06 +0000)]
TranslateUIDs now correctly returns number of substitutions made
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7893
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 16:05:59 +0000 (16:05 +0000)]
Add a metric assload of TRANSLATE macros to modules.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7892
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 16:00:46 +0000 (16:00 +0000)]
Translation of mode parameters to uids where neccessary
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7891
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 15:35:14 +0000 (15:35 +0000)]
Some useful defines for tidy definition of translation lists. See constructor of cmd_cban in m_cban.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7890
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 15:27:35 +0000 (15:27 +0000)]
Auto translation nick->uuid for command params should now work in all 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
brain [Mon, 27 Aug 2007 15:14:27 +0000 (15:14 +0000)]
More translation stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7888
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 15:02:46 +0000 (15:02 +0000)]
Remove more unnecessary header traffic
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7887
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 15:01:14 +0000 (15:01 +0000)]
Add vector<TranslationType> to commands, used to map fields to uid translations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7886
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 14:49:08 +0000 (14:49 +0000)]
Remove unnecessary header traffic
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7885
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 14:20:55 +0000 (14:20 +0000)]
Changes to UID generation:
- 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
brain [Mon, 27 Aug 2007 13:54:15 +0000 (13:54 +0000)]
Add FindNickOnly, that wont fall through to uid checks if isdigit(*first). 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
brain [Mon, 27 Aug 2007 13:40:12 +0000 (13:40 +0000)]
Whoops, i had a ! and i didnt need one
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7882
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 13:36:11 +0000 (13:36 +0000)]
Fixed sigabrt
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
brain [Mon, 27 Aug 2007 12:43:47 +0000 (12:43 +0000)]
Fix for bug #401 reported by DarkStorm
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7879
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 12:41:25 +0000 (12:41 +0000)]
Add options:maxtargets that was somehow omitted, fixes bug #400 (Reported by DarkStorm)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7877
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 11:43:12 +0000 (11:43 +0000)]
Add uuid hash_map - its management is automatic via userrec 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
brain [Mon, 27 Aug 2007 11:34:16 +0000 (11:34 +0000)]
A few tidyups, and comment how the new constructors work (so that w00t doesnt wonder where the feck his strlcpys went)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7875
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 11:30:38 +0000 (11:30 +0000)]
More uuid fixes, and whack some warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7874
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 11:24:43 +0000 (11:24 +0000)]
Allocate uid in userrec constructor. Optional param added, if its empty, the 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
brain [Mon, 27 Aug 2007 11:04:03 +0000 (11:04 +0000)]
Squash warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7872
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 11:03:32 +0000 (11:03 +0000)]
Initialise cmd_nick::allowinvalid in constructor init-list, and document HandleInternal (now two commands that use this, cmd_whowas and this one)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7871
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 11:01:20 +0000 (11:01 +0000)]
Fix obligotary typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7870
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 10:57:25 +0000 (10:57 +0000)]
Add a call to the NICK handler that allows toggling of allowing invalid 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
brain [Mon, 27 Aug 2007 10:50:23 +0000 (10:50 +0000)]
Make nickname-overruled rules change the user back to their uid, not to nnn-unknown
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7868
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 10:45:51 +0000 (10:45 +0000)]
When a numeric nick is passed to FindNick, we call FindUUID instead
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7867
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 10:37:29 +0000 (10:37 +0000)]
Translate some stuff to uid.
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
w00t [Mon, 27 Aug 2007 03:25:48 +0000 (03:25 +0000)]
Make this lookup by UUID ahead of nick also, so things work properly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7865
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 03:14:06 +0000 (03:14 +0000)]
Make the server to server parser look for UUID. Currently it will fall back 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
w00t [Mon, 27 Aug 2007 03:08:39 +0000 (03:08 +0000)]
Oops, don't forget to save UUID of remote clients
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7863
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 02:59:56 +0000 (02:59 +0000)]
Make FJOIN send UUID
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7862
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 02:55:13 +0000 (02:55 +0000)]
Convert a metric assload of stuff to use UID
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7861
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 02:45:35 +0000 (02:45 +0000)]
Send UID (not nick) on client connection
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7860
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 02:41:09 +0000 (02:41 +0000)]
Send UID prefix on module commands across links.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7859
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 02:17:48 +0000 (02:17 +0000)]
Paranoia: Check for UUID collision on UID reciept, remove both clients if a collision occurs.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7858
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 02:08:28 +0000 (02:08 +0000)]
This will royally fuck 1.2's linking right now, but..
- 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
w00t [Mon, 27 Aug 2007 01:35:55 +0000 (01:35 +0000)]
Fix me not being able to code..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7856
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 01:01:20 +0000 (01:01 +0000)]
Add InspIRCd::FindUUID() methods. Currently, these work off an iteration 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
w00t [Mon, 27 Aug 2007 00:39:59 +0000 (00:39 +0000)]
Fix to SVSJOIN: disallow invalid channel names. Needs backport.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7852
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 00:32:06 +0000 (00:32 +0000)]
Now we know it works, remove debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7851
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 00:31:41 +0000 (00:31 +0000)]
Whoops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7850
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 27 Aug 2007 00:29:56 +0000 (00:29 +0000)]
Automatic SID generation based on code similar to the STL hash function and using server name and server gecos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7849
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 27 Aug 2007 00:12:59 +0000 (00:12 +0000)]
UUID is now generated and set on client add, and shown after 005 via numeric 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
w00t [Sun, 26 Aug 2007 23:50:10 +0000 (23:50 +0000)]
And zero UUID in constructor.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7847
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 26 Aug 2007 23:47:52 +0000 (23:47 +0000)]
Initial UUID generation code. Generates a TS6 compatible UUID.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7846
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 26 Aug 2007 23:07:06 +0000 (23:07 +0000)]
Add skeleton functions for UID stuff.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7845
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 26 Aug 2007 21:59:41 +0000 (21:59 +0000)]
Bump ABI version and protocol version. Note that this really means 1.1 and 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
peavey [Sun, 26 Aug 2007 21:57:47 +0000 (21:57 +0000)]
Make this compile, was missing a (
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7843
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 26 Aug 2007 21:18:34 +0000 (21:18 +0000)]
Add 'you are banned' numeric to banredirect output, from avenger's patch
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7842
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 26 Aug 2007 21:15:47 +0000 (21:15 +0000)]
Added new announceinvite setting i discussed briefly with w00t and i like 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
w00t [Sun, 26 Aug 2007 21:13:14 +0000 (21:13 +0000)]
Hide remote oper up notices if quiet bursts are enabled etc. Adapted from avenger's patch. Untested.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7840
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 26 Aug 2007 21:01:04 +0000 (21:01 +0000)]
Proper fix for end-of-list numerics on restricted lists in bug #386, rather than a hackish nonmodular one.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7838
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 26 Aug 2007 20:43:15 +0000 (20:43 +0000)]
Add option to set invite announcements to nobody, ops only, or all users, based on options:announceinvites. Part of bug #386, should not be backported.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7837
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 26 Aug 2007 20:14:35 +0000 (20:14 +0000)]
Fix for bug #376 - FEATURE - (sorry w00t) - not backporting to stable.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7835
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 26 Aug 2007 20:01:15 +0000 (20:01 +0000)]
Add m_commonchans.so (documented in example conf, no wiki yet) resolves bug #342 feature request by Casey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7832
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 26 Aug 2007 16:59:00 +0000 (16:59 +0000)]
Revised fix for bug #367 pointed out during qa by owine, thanks :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7830
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 26 Aug 2007 16:55:38 +0000 (16:55 +0000)]
Document ModuleSpanningTree::RemoteMessage. Maybe useful for other stuff.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7828
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 26 Aug 2007 16:49:12 +0000 (16:49 +0000)]
Routing failure messages back where they came from on /rconnect
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7826
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 25 Aug 2007 11:26:44 +0000 (11:26 +0000)]
Implement bug #396, feature request from Bricker
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7824
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 25 Aug 2007 11:12:44 +0000 (11:12 +0000)]
Fix for bug #397
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7821
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 25 Aug 2007 10:36:20 +0000 (10:36 +0000)]
Add 'require 5.8.0' to the very top of every module to make the failure message when you run an ancient perl a bit more descriptive.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7820
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 24 Aug 2007 16:42:22 +0000 (16:42 +0000)]
The world wont end, but configure might :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7817
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 24 Aug 2007 16:10:19 +0000 (16:10 +0000)]
Slightly better regexps, pointed out by stskeeps
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7815
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 23 Aug 2007 22:58:37 +0000 (22:58 +0000)]
Someone really should fix the blocking connects on windows craq...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7813
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 23 Aug 2007 22:30:46 +0000 (22:30 +0000)]
Move the close() wrapper out of the win32wrapper.h, and into its new proper place at SocketEngine::Close()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7812
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 23 Aug 2007 22:17:20 +0000 (22:17 +0000)]
Document all this shit!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7811
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 23 Aug 2007 22:06:04 +0000 (22:06 +0000)]
Craquity craq De-craq!
This is probably broken on windows, do not attempt to use there yet unless you like broken stuff. Cant say for sure as i havent even tried to build yet and most likely wont tonight.
--- Abstract most of the berkely socket API out into SocketEngine derived classes. SocketEngine base class implements standard berkely sockets that 'real mens systems' like linux
and freebsd have. For socketengine_iocp we implement the windows specific nonesense like the special things needed for udp and accept (ick).
All this to eliminate a bunch of ifdefs.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7810
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 23 Aug 2007 20:16:18 +0000 (20:16 +0000)]
Tidyup some duplicated code
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7808
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 23 Aug 2007 20:05:05 +0000 (20:05 +0000)]
Move WSACleanup() into IOCPEngine destructor, eliminating an "#ifdef WIN32" from inspircd.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7807
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 23 Aug 2007 19:57:02 +0000 (19:57 +0000)]
Raft of fixes so that inspircd can call Cleanup() and Exit() in less 'stable' circumstances, e.g. when half initialized, and it wont segfault.
Also fix OpenLog to not always exit on error, but to return a bool instead, which is much more friendly on rehash (you don't want /REHASH dieing your server if you cant write the log!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7804
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 23 Aug 2007 19:32:59 +0000 (19:32 +0000)]
Fix segfault on 'cant open logfile' on startup, on trying to call Exit. instead just call plain exit() as we're screwed and cant log any unload messages.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7802
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 23 Aug 2007 18:06:26 +0000 (18:06 +0000)]
Add some stuff to change how we process a token sepeperated stream
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7800
e03df62e -2008-0410-955e-
edbf42e46eb7