8066 Commits

Author SHA1 Message Date
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
w00t
19bcd43f25 Initialise this (valgrind warning)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9384 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 20:09:06 +00:00
w00t
55c95bc454 Remote /MAP (that now doesn't confuse clients ;p)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9383 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 18:11:25 +00:00
brain
73b20b7d06 Fix this up to convert deque to const char* const for w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9382 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 18:03:30 +00:00
w00t
d87c865987 Remote /MAP: caution, this doesn't compile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9381 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 17:53:15 +00:00
brain
53fbf0cf7f Revert not-required hax
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9380 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 17:26:25 +00:00
brain
41c2064746 For some reason there was a FinishBurst in the encap command, which was sending spurious end of burst messages
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9379 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 17:24:10 +00:00
w00t
134cff821e Mark ping answered when we get a two form reply
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9378 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 16:26:50 +00:00
w00t
6e1c5865b7 Make ping warnings and lag check global across all servers on a network. This means a lot of pings travelling around with a lot of servers, but hey, it's useful info.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9377 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 16:22:10 +00:00
w00t
74aac8e5a1 Add NeoStats example aliases (thanks TamCore)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9376 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 13:12:32 +00:00
w00t
e2ff1fd474 Fix bug #509 reported by Casey: bans were not applied on non-opped users (1.2 only)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9375 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 12:30:47 +00:00
w00t
52f102fc86 More missing docs.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9374 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 12:11:16 +00:00
w00t
92eda17524 Fix a silly bug we never thought was a bug, in m_messageflood - the message that got a user kicked was always allowed through (appearing *after* they were kicked). Was a return 1 in the wrong place.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9372 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 12:04:20 +00:00
w00t
f590209bd0 Some documentation fixes (misnamed module, missing modules, etc). Fixes bug #508 - thanks Casey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9371 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06 11:46:50 +00:00
w00t
1563e32299 Error message tweaking
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9370 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05 22:54:22 +00:00
brain
1e740e019e Add protocolinterface.* and privmsg.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9369 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05 21:42:38 +00:00
brain
82fb111759 Windows fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9368 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05 21:39:55 +00:00
brain
312bb77ee1 In case youre wondering, Belgian Blue is a cow breed :) (BLAME W00T)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9366 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0a1
2008-04-05 21:19:51 +00:00
w00t
4c1208b8fa Remove debug, fix DELLINE: args were the wrong way around
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9365 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05 20:14:28 +00:00
w00t
335ab1528d debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9364 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05 20:09:14 +00:00
brain
cf3848fd36 Same here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9362 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05 17:28:40 +00:00
brain
d8531d95ac Fix showing of sid/uid instead of nick or servername when lines are added
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9361 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05 17:27:22 +00:00