8087 Commits

Author SHA1 Message Date
w00t
927f436c1c Don't check Q:Lines here, it will affect change to UID
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9435 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 22:50:30 +00:00
w00t
66e76caaa0 Don't check Q:Lines if server is enforcing a nick change (I forgot we had a way to check this). 'Bug' (it's not really a bug, just admin stupidity) found by Kein.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9434 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 22:36:15 +00:00
w00t
32834b531c Fix a bug with /SHUN deletion (it didn't work)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9433 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 19:42:53 +00:00
w00t
ff32b2e66c CBan rewritten to use the XLine API. Untested as yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9432 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 19:42:23 +00:00
w00t
80c42b2f46 Changes needed to get open-linking working.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9431 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 19:23:18 +00:00
w00t
29800b5844 Fix compile error I introduced
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9430 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 18:58:25 +00:00
w00t
b8ddf2f3c8 Comment tweakage
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9429 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 18:54:03 +00:00
w00t
fc7dbbeb07 This comment is slightly out of date: we do write to opers now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9428 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 18:39:19 +00:00
w00t
ffa107c367 No longer deprecated, just may not be used
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9427 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 18:33:26 +00:00
brain
d125d4964a add a couple of parenthesis to the password comparison, because i couldnt easily make out the order of precedence, clarify it a bit :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9426 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 16:03:02 +00:00
w00t
eae1a96c36 Allow for open link networks (<link:name> to *) and tidy up checks here. XXX someone check my work here because this was quite untidy, so I'm not 100% I got all the logic ops correct.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9425 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 15:36:44 +00:00
w00t
ba713cdc07 Add todo, add server name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9424 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 15:05:51 +00:00
w00t
94ab2b6eb5 Remote REHASH stuff, this drove me nuts but should probably work now.. thx brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9423 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 15:00:28 +00:00
w00t
395a610c2c Update syntax
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9422 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 12:07:15 +00:00
w00t
94e530b1cb Finally apply my patch simplifying RSQUIT. Fixes bug #452, reported by Mark. This won't be backported.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9421 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 12:05:13 +00:00
w00t
ab37431218 Fix compile error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9420 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 12:04:38 +00:00
w00t
2a14a087c4 REG_ALL check is not required, since OnUserConnect is triggered after NICK/USER recieved, but we don't want to bother trying to SHUN remote users too, so check IS_LOCAL in the connection event
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9419 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 10:29:45 +00:00
w00t
1ff54f0c4d SHUN: check SHUN on connect, extend user with shunned metadata if they match, and disallow any commands if metadata exists instead of constantly rechecking bans per-command.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9418 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 10:23:35 +00:00
brain
e8aa1caa96 Ugh, fixify. msms?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9417 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08 00:01:14 +00:00
brain
0ad10d75b9 When map says 0ms, make it read "<1ms" instead of 0, 0 doesnt make ANY sense at all, transfer of data is not instant! Also tidy up headers for this file, we include far more of spanningtree than we actually use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9416 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 23:58:28 +00:00
brain
9b169c24b1 Fix for bug #510
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9415 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 23:48:26 +00:00
brain
efac11ae7a Hosts vector not cleared on rehash, made rehashing for changes impossible
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9414 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 23:02:02 +00:00
w00t
3481bf3610 SHUN works (locally at least)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9412 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 22:49:17 +00:00
w00t
43ba6d2a52 Hook events properly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9411 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 22:39:19 +00:00
w00t
e9b343457d Add a factory to produce shuns, don't autoapply to userlist, etc.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9410 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 22:34:46 +00:00
brain
ef30d86d11 Add extra stuff for w00t, AutoApplyToUserList method for XLineFactory
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9409 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 22:30:45 +00:00
w00t
7317c9184c Use SHUN, not S, try match on std::string for removal
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9408 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 22:17:30 +00:00
w00t
ead986d685 Unrestrict users before REG_ALL
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9407 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 22:14:21 +00:00
brain
db3e7d6cd7 Make it work properly, too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9406 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 22:03:12 +00:00
brain
5fb4537721 Show server kills with correct origin, UNLESS hidden server in whois is set
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9405 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 22:02:46 +00:00
brain
f78a6a90b1 This should probably be tested, but makes a whole lot more sense like this (users.cpp)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9404 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 22:00:49 +00:00
w00t
0b14c8ef1c Show SID on /map
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9403 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 18:13:58 +00:00
brain
20cc65ddf5 remote MAP reply is backwards :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9402 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 18:00:28 +00:00
w00t
cf1aa8c36d Use server names for introduction of servers, not SIDs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9401 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 16:50:20 +00:00
brain
18310fc8b7 We were lucky this one didnt bring down the whole devnet (see cmd_part.cpp diff)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9400 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 16:18:32 +00:00
w00t
c1c6d3f447 Typo x 2 (ta Zaba)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9399 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 14:45:41 +00:00
w00t
b9b768d654 Typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9398 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 14:45:01 +00:00
w00t
5f68c4e912 Convert this to use the new XLine API, this results in fairly significant lessening of code complexity.. also now more up to date with our recent coding style.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9397 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 14:35:50 +00:00
w00t
480407f4ff Add m_shun from third party to 1.2, update it to compile (currently untested..) and fix a printf-bug in the process
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9396 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 13:08:25 +00:00
w00t
42906b7b42 Updates to NeoStats aliases, again by TamCore (thanks :))
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9395 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 12:39:22 +00:00
w00t
b233d0c582 Patch from Brain: set MAX_DESCRIPTORS for all socket engines (I missed this)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9394 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07 12:29:05 +00:00
brain
f0a07a46b6 Fix fake direction in TOPIC, you cant use a uuid as a command origin in the send functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9393 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 23:18:19 +00:00
brain
a2cc6107b5 Its ok to allow remote map to non-opers now, found the real culprit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9392 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 21:59:10 +00:00
brain
ac61fa4ac9 Fix bug where OPERTYPE does not propogate more than one server in distance due to it being propogated with a nick prefix.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9391 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 21:57:03 +00:00
brain
67445d0e66 Remote map only works for opers. Fix problem where only part of the map is shown, and also restrict to opers only so that normal users cant use it to probe network routes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9390 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 21:50:03 +00:00
brain
b5502c9aaf Debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9389 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 21:44:18 +00:00
brain
8b69e1a5d6 The map matrix must be static. For some reason it blows up when it is not. This fixes the display oddities, as far as i can tell.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9388 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 21:35:03 +00:00
w00t
5accf1b16a Initialise this so WriteCommon() knows what it's dealing with (thanks, valgrind)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9387 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 20:24:54 +00:00
w00t
13506f0c37 Initialise var (another valgrind warning)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9386 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 20:17:42 +00:00
w00t
8a3695e4b0 Stupid, stupid :| use the correct variable to find existing channel (this caused my spurious CoreException crash, Brain)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9385 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 20:10:33 +00:00