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 |
|
pippijn
|
6f76451a5c
|
we are C++, not C
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9897 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-12 21:04:10 +00:00 |
|
pippijn
|
cf6ba58008
|
optimise string-to-literal comparison while we are at it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9896 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-12 21:00:48 +00:00 |
|
brain
|
b3e3b1f14e
|
Now builds ok on gcc 4.3, not tested fully. Also UGLY, oh we hate you GCC, why couldnt you just use TR1 from the start???
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9894 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-12 19:29:42 +00:00 |
|
brain
|
06a25cab68
|
Fix to allow namespace std { namespace tr1 {
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9893 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-12 18:17:28 +00:00 |
|
brain
|
e56613b003
|
This should do the job, dont quote me on it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9892 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-12 17:40:40 +00:00 |
|
brain
|
d3fb3fd284
|
Something we can do in 1.2 that we cant really do neatly in 1.1 - allow for the channel list sizes to be enforced only locally
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9882 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-09 22:57:56 +00:00 |
|
brain
|
9095800a17
|
Check for invalid characters in keys, will catch config errors earlier and closer to the actual error line. Valid values in key names are [A-Za-z_]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9863 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-08 14:21:21 +00:00 |
|
brain
|
61185fc62b
|
m_abbreviation completed. :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9845 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-06-06 15:47:39 +00:00 |
|