summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-19Change modes in channels and users to use std::bitset instead of an array. ↵w00t
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-19Fix compile. Also remove write error stuff, as that was used prior to the ↵w00t
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-19Use a switch (cleaner, probably more efficient) for user status here, also, ↵w00t
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-19Remove totally unused member, saving sizeof(unsigned int) per user recordw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10040 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19Hook OnUserPreKick and disallow kick on +k users alsow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10039 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19Spaces to tabs, EXORCISE THE DEMON. Thanks psychon.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10038 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19jackmcbarn's patch left something outbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10037 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19Crash fix from jackmcbarn, thanks, fixes bug #578brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10035 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-18Set parent to empty if there is no parent, pippijn, does this fix your ↵w00t
duplicate links? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10034 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-18Okay. This will probably break *everything*, but hey. Use static linking ↵w00t
(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-18Implement <disabled:usermodes> and <disabled:chanmodes>.aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10032 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-17Combine IP+port in a failed port list, show (the more helpful) error string ↵w00t
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-17Send strerror() on all socket error messages, this should help diagnose ↵w00t
problems a lot easier git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10028 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-16Fix parts being screwed up, thanks psychonw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10027 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-16Fixed example MOTD which was a bit screwed up, thanks psychonw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10026 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-16Add psychon to regular contributorsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10025 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-16Applied patch by psychon to make AddExtBanChar correctly take a single charspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10024 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-15Send ERR_NOTREGISTERED to clients that send SERVER on a client port with a ↵w00t
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-14Add reference to wiki CIDR tutorial in <cidr> docs.om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10022 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14Remove unneccessary temp value which caused a win32 problem by using ↵om
uint32_t type. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10021 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14Add extban types +bb R: and M: - stops matching account masks from joining ↵w00t
and speaking respectively git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10020 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14Rename quietban to muteban, change character to +b m:, this way it fits with ↵w00t
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-14Merge m_nickban into m_nonicksw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10018 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14Add InspIRCd::AddExtBanChar() to avoid copypasta.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10017 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14More broken compile stuffw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10016 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14Fix compilew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10015 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14Lots, lots more numerics.h conversionw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10014 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13Convert more stuff to use numerics.h, change SERVER to send ↵w00t
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-13Fix indentation to look rightbrain
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-13More conversion, and a note to client coders.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10011 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13Convertage.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10010 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13Convert, convert, convertw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10009 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13Convert a bunch of crapw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10008 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13Finish channels.cpp conversion to numerics listw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10007 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13Add include/numerics.h, contains/will contain an enum for numerics. Work in ↵w00t
progress. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10006 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13Fix order of arguments, this means that ban exceptions for extbans actually ↵w00t
work again git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10005 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13Default to adding uppercase characters to allowed hostmap list, this has ↵w00t
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-13Indentation tweakbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10003 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Fixed #568 - gnutls does not allow reuse of credentials, which was making ↵special
/rehash ssl not work properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10001 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12And, just because I can. The one pointless one-liner of the evening. :pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10000 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Add a snotice about time jumping by more than a second at a time, and move ↵w00t
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-12Remove some long commented out code: we never used to start unless a client ↵w00t
port was bound git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9998 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Remove a slightly odd commentw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9997 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12peavey already fixed this with climits include, remove limits.h. Keep the ↵w00t
warning, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9996 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Allow opers to view modelists regardless of <security:hidemodelists>w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9995 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Document m_gecosbanw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9994 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Remove debugw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9993 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Add support for ban exceptions on non-user extbans (e.g, +be r:*lol* ↵w00t
r:lol?is?gay will now hopefully work) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9992 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Make m_gecosban work. We can't make assumptions about how an extban banmask ↵w00t
must look, as they won't necessarily be a usermask type affair. :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9991 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Debugw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9990 e03df62e-2008-0410-955e-edbf42e46eb7