brain
|
93d7a1311d
|
304 -> RPL_SYNTAX
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10052 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-20 12:19:30 +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 |
|
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 |
|
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 |
|
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 |
|
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
|
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
|
97ef4d2d75
|
Remove a slightly odd comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9997 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 21:52:28 +00:00 |
|
w00t
|
feb6904d32
|
peavey already fixed this with climits include, remove limits.h. Keep the warning, though.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9996 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 21:49:45 +00:00 |
|
w00t
|
8ed5d452db
|
Okay, and there's the working version of it. Extbans that don't work on users have OnCheckStringExtBan. ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9988 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 20:53:19 +00:00 |
|
w00t
|
0e4715e8e3
|
Overload IsExtBanned to provide a *string matching* version, this finally opens the way for non-hostmask based extbans, which is good ;p. On the downside, this requires rethinking of the extban exemption stuff I did yesterday.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9987 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 20:38:14 +00:00 |
|
w00t
|
19916fcab2
|
Add <cidr> block, and documentation in example config.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9980 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 13:58:37 +00:00 |
|
w00t
|
8f0b1082d8
|
Add XLineManager::DelAll to delete all lines of a given type.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9975 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 10:53:31 +00:00 |
|
w00t
|
e078fae142
|
Add <gecos> field to <server> in XML stats output, also add to ProtoServer. Fixes part of bug #571, reported by Majic.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9971 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 10:39:03 +00:00 |
|
w00t
|
c5d8d3e3c6
|
Fix for #564
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9961 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 09:43:58 +00:00 |
|
w00t
|
0a45c56f10
|
Remove individual read buffers inside of BufferedSocket, use the shared netbuffer instead, like users. This means a 65kb saving per BufferedSocket.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9960 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 09:13:06 +00:00 |
|
w00t
|
c92f8ebd92
|
Add User::GetCIDRMask(int range), will be used for CIDR throttling, etc. Also probably opens up the way for /gline nickname to place CIDR bans instead of regular bans, which could be helpful. Much thanks to Om for his help.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9959 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 08:57:44 +00:00 |
|
w00t
|
bd2782b9e8
|
Add OnCheckExtBan, will be used for exceptions to extbans
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9957 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-11 21:26:27 +00:00 |
|
w00t
|
0b070b52bc
|
Convert API to use std::string, fixes my slight bug from earlier and looks tidier
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9956 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-11 21:15:02 +00:00 |
|
w00t
|
f8d9c51317
|
Pull in limits.h to fix PATH_MAX problems, thanks to Uli Slachter (psychon).. Not sure why this wouldn't work anyway, as we define it manually, but..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9954 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-11 15:37:31 +00:00 |
|
w00t
|
4e599dd4fb
|
Fix m_nopartmsg to work via API modification, involves a string copy that won't last too long. Compiles cleanly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9953 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-11 14:44:17 +00:00 |
|
w00t
|
b2723d2577
|
Back out the incomplete linebuffering stuff that shouldn't have been committed..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9948 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-02 14:22:48 +00:00 |
|
w00t
|
f4ea51671f
|
Forward port r9946: make SVSHOLD silent to avoid useless irritation to opers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9947 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-02 14:20:38 +00:00 |
|
peavey
|
bf0c9c494b
|
include limits to get correct PATH_MAX where available
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9942 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-01 18:04:35 +00:00 |
|
brain
|
a77e13baaa
|
Change the value of number of secs in a year to be 31557600 for Duration() with 'y' value. This is 365.25 days slightly more accurate than 365 days.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9930 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-21 13:18:25 +00:00 |
|
brain
|
a3802dee4b
|
Measure bandwidth statistics from the socket engine (kiloBITS per second in, out, total) and display them in /stats z plus send them via the named pipe to the windows gui
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9918 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-18 20:27:47 +00:00 |
|
brain
|
d15b915ef5
|
Defined too early
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9909 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-15 11:57:01 +00:00 |
|
brain
|
d62febcf8f
|
Define PATH_MAX if its not already defined
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9907 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-15 11:53:04 +00:00 |
|
pippijn
|
de347ae8fa
|
MAXBUF messes these up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9902 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-12 21:40:17 +00:00 |
|
pippijn
|
3f331656b2
|
fixed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9901 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-12 21:34:02 +00:00 |
|
pippijn
|
63ee682557
|
optimise string comparison.. this time I've done it right.. sheesh shitty C++ name lookup :-(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9900 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-12 21:25:46 +00:00 |
|
pippijn
|
8a51d8969c
|
revert for now..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9899 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-12 21:09:04 +00:00 |
|
pippijn
|
5ca2a6ffdb
|
for real
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9898 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-12 21:04:37 +00:00 |
|