w00t
f84cc5b5e5
Revert "Add option to allow +q to +q users, +a to +a users."
...
This reverts commit 1c035722a6083f9d625aba8e34fb1cff3895808a.
This is currently broken, and I don't want it screwing up beta3...
Conflicts:
src/modules/m_chanprotect.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10752 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-30 20:47:13 +00:00
psychon
d9bdfda657
Fix a compiler warning about a redefinition of some symbol.
...
Does nobody else read compiler warnings? Oo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10751 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-30 19:53:58 +00:00
w00t
f103942e50
Fix for "unknown commands" w/ m_abbreviation, thanks dz for making me understand this.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10749 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-29 16:06:23 +00:00
w00t
b81e496c6d
Add +s +J - for remote channel creation. This helps m_chanlog stop being quite so silly, and also means that opers on larger networks won't be flooded to death.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10748 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-29 15:21:05 +00:00
w00t
664f69890a
Make this less confusing for us and users
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10746 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28 23:20:31 +00:00
w00t
f9a0af279a
Fix 4in6 IP resolution hack now that the leading ::ffff: is stripped from the IP [danieldg]
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10745 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28 23:20:30 +00:00
w00t
e79930ac02
Remove one (now unneeded) 4in6 hack.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10744 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28 23:20:28 +00:00
w00t
dad5d5ed15
Improve ./inspircd stop [danieldg]
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10743 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28 18:29:40 +00:00
w00t
2451bc6ba3
Remove ancient comment.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10742 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28 16:12:30 +00:00
w00t
ddef7e7a06
Add reasons to other modules that implement XLines also.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10741 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28 16:11:20 +00:00
w00t
6d86ee8e9c
Remove comment, as it is now done.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10740 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28 16:04:40 +00:00
w00t
e4c8a90f85
Move chanprotect settings from <options> to <chanprotect>.
...
(why were they not there in the first place?)
Document <chanprotect:setprivsonothers>.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10739 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28 15:52:45 +00:00
w00t
adfcfa9dfd
Add option to allow +q to +q users, +a to +a users.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10738 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28 15:52:44 +00:00
w00t
a4f8d7c849
Move spanningtree to the bottom of the module configuration file. Thanks MacGyver.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10737 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28 15:21:09 +00:00
w00t
c5e16f83df
Watch visibility test was working the wrong way. Patch from Darom.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10735 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28 10:32:50 +00:00
w00t
41dcd9aea5
dz added to /info, psychon (omitted?!) added to startup :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10734 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28 00:39:03 +00:00
w00t
1a738eb97e
Add user/channel mode synchronisation detection to CAPAB - link will now drop if modes differ in some way (one side requires param, other doesn't, etc). Same for user modes.
...
This will not affect services. Side effect: Modes::ChanModes() -> Modes::GiveModeList(ModeMasks), mode list is formatted
identically for both MASK_CHANNEL and MASK_USER.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10733 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27 22:29:56 +00:00
w00t
50234923b2
Merge commit 'danieldg/out-12'
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10732 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27 22:19:43 +00:00
w00t
4d471bc5df
Be a hell of a lot more strict about malformed UID commands. We've always been strict in the past, for some reason, we were previously very permissive about broken UID - there is no reason to be. If they're fucking up, then make them fix their problem :) (this is also a lazy man's fix to get around bad pointers/etc by deleting users outside of culllist).
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10731 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27 21:51:48 +00:00
w00t
5196bf4b38
Fix redundant stats snotice, thanks dz.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10730 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27 20:41:06 +00:00
w00t
ecbddde66a
Remove user no longer being watched, not the quitting one. Fix from Szymek (thanks), tested by Darom.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10728 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27 20:29:08 +00:00
w00t
b7e05bb315
Improvments to valdebug-unattended [danieldg]
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10727 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27 20:15:53 +00:00
brain
bbc7915f36
valgrind-unattended patch by MacGyver, thanks a ton! :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10726 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27 19:08:31 +00:00
brain
7732290614
D'oh
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10723 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-26 19:27:23 +00:00
brain
13d01bbdb2
Epic fail, did someone order a shipment of fail?
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10722 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-26 19:20:25 +00:00
brain
1c5d26337b
This one too
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10721 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-26 19:09:50 +00:00
brain
a718e05343
Fix obvious oversight spotted by Ankit, provide xline reasons when adding them
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10720 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-26 19:09:25 +00:00
peavey
2f717cb4dc
fix for banwalk and keys reported by mix941
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10719 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-26 00:27:04 +00:00
w00t
dcfd227ffb
Fix a number of commands to have max_params field. This means in practice, that colons on gline reasons (etc) are no longer mandatory, provided the command tells the core how many parameters at max it has.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10718 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 16:41:13 +00:00
w00t
5b91ea259b
Explain the duplicate OnPreCommand call.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10717 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 16:41:12 +00:00
w00t
813c898160
By moving OnPreCommand call in two places, modules (even with unverified commands) can still recieve the command with max_params at most if it exists.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10716 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 16:41:11 +00:00
w00t
bde833f182
Add optional max_params for commands, which means that we can compress 'extra' params, while still accepting ':' terminated params, etc.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10715 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 16:41:09 +00:00
aquanight
2d52c375ef
Missed one, w00t :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10714 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 14:05:42 +00:00
w00t
648c95b10b
Fix <disabled:umodes> interfering with /unloadmodule m_implementing_a_umode, aquanight, you didn't look quite far enough into this - the problem was m_cloaking (e.g.) returning MODEACTION_DENY if src != dest, which was very very oooold behaviour. Seems to work fine now.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10713 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 14:02:11 +00:00
w00t
0768943600
Fix another connect class bug on rehash
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10712 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 14:02:10 +00:00
w00t
adf20f6486
Use TargetTypeFlags instead of int in a few places.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10711 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 13:14:23 +00:00
w00t
ffc0396516
As we have an enum for type, why not ..use it?
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10710 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 13:14:22 +00:00
w00t
2b39234be2
Last of documentation for protocol interface. XXX, ProtocolInterface::GetServerList is quite poorly documented.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10709 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 12:59:14 +00:00
w00t
4d03a38661
Document SendMode.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10708 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 12:59:13 +00:00
w00t
b76777dfb4
Document SendTopic.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10707 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 12:59:13 +00:00
w00t
8e735c8f3a
Document SendMetaData.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10706 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 12:59:12 +00:00
w00t
2be4fff3e3
Document ENCAP.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10705 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 12:59:11 +00:00
w00t
39897f56f5
Note where to find the docs.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10704 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 12:59:11 +00:00
w00t
b877769157
Nuke space indents from orbit. (die!!)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10703 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 12:59:10 +00:00
w00t
adad79af76
Move spanningtree to use OnChangeLocalUserHost instead of OnChangeHost, this makes more sense, and also means we can call OnChangeHost for remote clients too, making it actually match it's documentation for the first time ever!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10702 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 12:21:14 +00:00
w00t
30b7a1bf7f
(sort of..) Revert commit 7736e920fe6ccaf9ad1984afc70db19efd4fb8cd - remove dupe checking on connect classes. Now, we just delete ones with refcount 0 on rehash, and add new ones. Connection can only match a non-disabled class, so most of the braindamage should be gone from here, without causing wild pointer fun..
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10701 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25 10:17:53 +00:00
w00t
9ac5a288da
Consistancy: Allow opers to +L to a nonexistant channel, as we allow opers to bypass ops restriction.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10700 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-24 15:01:50 +00:00
w00t
7e7cdc4f2f
Remove (redundant and O(n)) error checking on +L, we catch the errors on join nowdays anyway, so this was a throwback to the "old days".
...
Also, add two new restrictions on +L: target channel must exist, and setter *must* be opped on target channel.
Avoids redirect spamming and other nefarious things.
Additionally, reworded numerics a bit to make it more generic, as we may forward for more than just +l in the future.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10699 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-24 14:56:43 +00:00
w00t
3b4c56a69e
Fix a plausible memory leak on rehash, thanks dz.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10698 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-24 11:17:53 +00:00
w00t
9175a3799d
Fix broken stuff.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10697 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-24 09:07:08 +00:00