8404 Commits

Author SHA1 Message Date
brain
cef4be3dde Fixes to make win32 build again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10051 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 11:21:39 +00:00
w00t
2e664462f2 is rfc of sorts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10050 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 09:51:52 +00:00
w00t
33ce32eb8b More numerics.h conversion
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10049 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 09:37:09 +00:00
w00t
ccfcdda274 Fix potential off-by-one on large reads (thanks psychon)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10048 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 09:15:01 +00:00
w00t
ca781714c1 Fixes to some stuff that writes on memory it shouldn't (thanks psychon).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10047 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 08:53:56 +00:00
brain
2d4a319d96 Fix total mess of makefile dependency macros (all depending on stuff they dont NEED to depend on)
and fix includes in all of m_spanningtree (everything including just about everything, doesnt need to)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10046 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 23:48:06 +00:00
brain
17fe68de72 Fix the 4-byte read madness discovered by psychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10045 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 23:19:23 +00:00
w00t
6a016cb0a6 Fix broken build
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10044 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 21:56:01 +00:00
w00t
a67b9de174 Change modes in channels and users to use std::bitset instead of an array. This saves 56 bytes per channel, and 112 bytes per channel, with no loss in speed or ease of use in code. :). Thanks (VERY) much to Special for telling me about this.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10043 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 20:34:14 +00:00
w00t
e93827e41c Fix compile. Also remove write error stuff, as that was used prior to the goodness of global culllist. This makes getting user's quit messages to them (on excess recvq etc) much easier.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10042 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 19:17:15 +00:00
w00t
1a307616ad Use a switch (cleaner, probably more efficient) for user status here, also, we can remove another member (::timeout) that is only actually used before registration by doing a bit of addition.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10041 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 18:42:53 +00:00
w00t
33bc4e4863 Remove totally unused member, saving sizeof(unsigned int) per user record
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10040 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 18:22:09 +00:00
w00t
fcd19d4de4 Hook OnUserPreKick and disallow kick on +k users also
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10039 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 11:11:59 +00:00
w00t
bffac12387 Spaces to tabs, EXORCISE THE DEMON. Thanks psychon.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10038 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 10:55:11 +00:00
brain
8882a85bf9 jackmcbarn's patch left something out
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10037 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 00:38:00 +00:00
brain
5458e9684d Crash fix from jackmcbarn, thanks, fixes bug #578
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10035 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 00:33:07 +00:00
w00t
5750ab5723 Set parent to empty if there is no parent, pippijn, does this fix your duplicate links?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10034 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-18 17:50:17 +00:00
w00t
398e33c16b Okay. This will probably break *everything*, but hey. Use static linking (JUST) for the main binary. This has advantages in terms of shorter compile time and in slightly reduced file size used, so it is worth it. Configure is also a tiny bit simpler in some ways, so.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10033 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-18 17:13:10 +00:00
aquanight
58ecf39129 Implement <disabled:usermodes> and <disabled:chanmodes>.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10032 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-18 15:29:58 +00:00
w00t
21bb2f2acf Combine IP+port in a failed port list, show (the more helpful) error string so the user can have some idea of what actually went wrong.. why we forced people to strace is beyond me..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10030 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-17 20:07:58 +00:00
w00t
681985c2cb Send strerror() on all socket error messages, this should help diagnose problems a lot easier
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10028 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-17 11:55:30 +00:00
w00t
f5bb9b429d Fix parts being screwed up, thanks psychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10027 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-16 11:58:28 +00:00
w00t
ebb851d2d8 Fixed example MOTD which was a bit screwed up, thanks psychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10026 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-16 11:57:22 +00:00
w00t
5fffe37858 Add psychon to regular contributors
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10025 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-16 09:57:21 +00:00
special
14e4768140 Applied patch by psychon to make AddExtBanChar correctly take a single char
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10024 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-16 09:50:23 +00:00
w00t
403d160684 Send ERR_NOTREGISTERED to clients that send SERVER on a client port with a text that tells them what they are doing wrong. Should help them debug it themselves.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10023 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-15 13:32:28 +00:00
om
a3720495e1 Add reference to wiki CIDR tutorial in <cidr> docs.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10022 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14 16:22:29 +00:00
om
f08e4a94e4 Remove unneccessary temp value which caused a win32 problem by using uint32_t type.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10021 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14 14:55:16 +00:00
w00t
056c2a49cc Add extban types +bb R: and M: - stops matching account masks from joining and speaking respectively
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10020 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14 12:58:44 +00:00
w00t
f474e7e6dc Rename quietban to muteban, change character to +b m:, this way it fits with cmode +m, which is what it does.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10019 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14 12:15:11 +00:00
w00t
a82061b65b Merge m_nickban into m_nonicks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10018 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14 12:09:40 +00:00
w00t
ac71a039c3 Add InspIRCd::AddExtBanChar() to avoid copypasta.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10017 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14 11:53:07 +00:00
w00t
9ab90c52b4 More broken compile stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10016 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14 08:28:23 +00:00
w00t
9e1afa4937 Fix compile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10015 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14 08:25:59 +00:00
w00t
fce32c7b5b Lots, lots more numerics.h conversion
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10014 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14 07:24:37 +00:00
w00t
0797f13121 Convert more stuff to use numerics.h, change SERVER to send ERR_ALREADYREGISTERED instead of picking a random numeric. Also no longer send a notice to opers, as 1) this could flood and 2) stupid things like cgiirc will trigger this a lot. Additionally, add a note to REHASH about finding a way to kill rehash thread if needed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10013 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 22:57:45 +00:00
brain
7009fbf66e Fix indentation to look right
Fix 008 and 042 to be correct (not invalid octal)
Change documentation of 501


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10012 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 20:40:09 +00:00
w00t
468144eb0b More conversion, and a note to client coders.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10011 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 19:58:28 +00:00
w00t
48103a05e7 Convertage.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10010 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 19:34:55 +00:00
w00t
0579cdd300 Convert, convert, convert
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10009 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 19:24:38 +00:00
w00t
3a9cee1356 Convert a bunch of crap
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10008 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 19:19:15 +00:00
w00t
4f7d99c193 Finish channels.cpp conversion to numerics list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10007 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 19:05:31 +00:00
w00t
95538518b3 Add include/numerics.h, contains/will contain an enum for numerics. Work in progress.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10006 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 19:01:17 +00:00
w00t
33f80efab6 Fix order of arguments, this means that ban exceptions for extbans actually work again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10005 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 17:54:16 +00:00
w00t
78ecfd4064 Default to adding uppercase characters to allowed hostmap list, this has caught a few people out (including me)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10004 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 17:30:23 +00:00
brain
08496283c0 Indentation tweak
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10003 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 10:34:43 +00:00
special
aff121b07c Fixed #568 - gnutls does not allow reuse of credentials, which was making /rehash ssl not work properly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10001 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12 23:26:45 +00:00
w00t
f5dec38514 And, just because I can. The one pointless one-liner of the evening. :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10000 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12 22:01:45 +00:00
w00t
dd93ad66c2 Add a snotice about time jumping by more than a second at a time, and move both this and time skew notice into debug snomask
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9999 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12 22:00:46 +00:00
w00t
2917d39961 Remove some long commented out code: we never used to start unless a client port was bound
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9998 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12 21:57:39 +00:00