]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
w00t [Sun, 21 Oct 2007 19:30:57 +0000 (19:30 +0000)]
Tidy up this windows ifdef. Still not sure why it's needed at all, but okay..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8273
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 21 Oct 2007 19:26:24 +0000 (19:26 +0000)]
We bloated. We're 5 lines now, not 4. :(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8272
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 19:24:09 +0000 (19:24 +0000)]
Set these back to sane operation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8271
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 19:09:59 +0000 (19:09 +0000)]
Change how the socket engines work when you addfd on an fd that already exists.
the only SANE outcome is that youve forgotten to DelFd, so it does this for you.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8269
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 19:07:23 +0000 (19:07 +0000)]
Remove more debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8268
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 19:07:06 +0000 (19:07 +0000)]
Remove debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8267
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 18:08:48 +0000 (18:08 +0000)]
Use the new IncreasePenalty rather than directly using += on the Penalty value.
Maybe the penalty value should be private and there should be an accessor, GetPenalty()?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8266
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 21 Oct 2007 18:05:22 +0000 (18:05 +0000)]
Add a 10 second penalty on failed oper-up. This may seem a little extreme, but people shouldn't be failing anyway, so I think this is a legitimate thing to do. Helps prevent brute-forcing of oper logins.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8265
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 21 Oct 2007 18:01:24 +0000 (18:01 +0000)]
Add User::IncreasePenalty() and User::DecreasePenalty()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8264
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 17:59:08 +0000 (17:59 +0000)]
Fixed ssl clients on trunk. The problem peavey was having was that before ReadBuffer was char[] now its char*. sizeof() on char[] returns its size in chars, and sizeof on char* returns 4. :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8263
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 17:26:46 +0000 (17:26 +0000)]
Set penalties (documentation page listing these to come)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8262
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 17:21:03 +0000 (17:21 +0000)]
This now sets User::ExemptFromPenalty too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8261
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 16:19:41 +0000 (16:19 +0000)]
Don't penalize any of the SA commands
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8260
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 16:18:32 +0000 (16:18 +0000)]
Don't penalise /kill and /*line
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8259
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 21 Oct 2007 14:56:38 +0000 (14:56 +0000)]
Don't penalise PING/PONG
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8258
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 21 Oct 2007 14:51:59 +0000 (14:51 +0000)]
Add penalties for WHO, INVITE, LIST, JOIN, PART.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8257
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 14:51:10 +0000 (14:51 +0000)]
Add penalty to /commands as extra parameter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8256
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 14:33:14 +0000 (14:33 +0000)]
Add the check for user->ExemptFromPenalty
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8255
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 14:30:58 +0000 (14:30 +0000)]
Move some stuff around so the last penalty line doesnt get held erroneously until data arrives again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8254
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 14:26:25 +0000 (14:26 +0000)]
Set cmd_nick to have a penalty of 3
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8253
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 14:25:25 +0000 (14:25 +0000)]
Tweak so that commands with larger penalty than 1 work right
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8252
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 14:18:43 +0000 (14:18 +0000)]
Yay, all works!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8251
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 14:08:13 +0000 (14:08 +0000)]
*untested* command buffering/penalty
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8250
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 21 Oct 2007 12:58:01 +0000 (12:58 +0000)]
CHange Penalty to be set in constructor, and to default to 1
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8249
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 12:56:44 +0000 (12:56 +0000)]
Dont forget to initialize the new value
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8248
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 12:54:02 +0000 (12:54 +0000)]
In class User:
/** If this bool is set then penalty rules do not apply to this user
*/
bool ExemptFromPenalty;
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8247
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 12:52:42 +0000 (12:52 +0000)]
Penalty should be 'const int'. Note, you can set a const in the constructors init-list, see line 109
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8246
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 21 Oct 2007 12:50:58 +0000 (12:50 +0000)]
Add int Penalty to Command. At the moment, nothing uses this, and constructor doesn't set it - I'll fix that up shortly. This is so Brain can use it in his gubbins without the source tree being broken. :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8245
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 12:44:37 +0000 (12:44 +0000)]
Add User::UnderPenalty
/** If this bool is set for a user, then the user is under penalty, in short they
* are waiting for some held commands to be executed. If this is the case, then
* any commands they have in their sendq are executed on a timer tick rather than in
* their event handler.
*/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8244
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 12:29:48 +0000 (12:29 +0000)]
Change a !string.length to string.empty. these are more readable and on some implementations faster
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8243
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 21 Oct 2007 12:23:35 +0000 (12:23 +0000)]
Subtract a boobie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8242
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 21 Oct 2007 12:22:39 +0000 (12:22 +0000)]
Remove next_call garbage.. It didn't really do much more than obfuscate things. InspIRCd::DoBackgroundUserStuff() is now called once per second, roughly. This will (of course) not be going into 1.1.x
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8241
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 20 Oct 2007 17:36:47 +0000 (17:36 +0000)]
Fix here too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8237
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 19 Oct 2007 19:23:23 +0000 (19:23 +0000)]
Fix small memory leak (this cant theoretically happen anyway unless you remove a network interface while an ident is connecting, and then youll only leak 12 bytes)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8234
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 18 Oct 2007 19:02:19 +0000 (19:02 +0000)]
Tons of comments!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8233
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 18 Oct 2007 18:35:09 +0000 (18:35 +0000)]
Oops, OnCheckReady being called after registration! This doesnt break the new m_ident, but it goes against spec
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8232
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 18 Oct 2007 18:26:46 +0000 (18:26 +0000)]
Fix here too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8229
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 18 Oct 2007 18:22:03 +0000 (18:22 +0000)]
Yay fixed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8226
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 18 Oct 2007 18:16:47 +0000 (18:16 +0000)]
Socket engine tweaks to fix a glitch, and improvements to new m_ident
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8225
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 18 Oct 2007 17:59:22 +0000 (17:59 +0000)]
Set IdentRequestSocket::done on failure to getsockname() in OnConnected
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8224
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 18 Oct 2007 17:55:51 +0000 (17:55 +0000)]
This new ident module now seems to work rudimentarily.
Should be safe to backport to 1.1, then make look nicer in 1.2, its pretty neat as it stands though.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8223
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 18 Oct 2007 17:31:01 +0000 (17:31 +0000)]
No gaurantees this works AT ALL. do not use yet!!!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8222
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 17 Oct 2007 20:29:15 +0000 (20:29 +0000)]
Remove debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8221
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 17 Oct 2007 20:28:45 +0000 (20:28 +0000)]
UID translator broken with space or comma seperated lists (thanks danieldg)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8220
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 16 Oct 2007 12:55:47 +0000 (12:55 +0000)]
Cache the culllist' GetUser() return. Looks cleaner.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8219
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 16 Oct 2007 10:29:01 +0000 (10:29 +0000)]
Remove second overridden (fully duplicated :/) copy of GetIPString which copies into a user specified buffer. It's not used anywhere, and is duplication ;(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8218
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 16 Oct 2007 10:22:31 +0000 (10:22 +0000)]
Typo fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8217
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 16 Oct 2007 10:21:11 +0000 (10:21 +0000)]
Update a comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8216
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 15 Oct 2007 22:33:18 +0000 (22:33 +0000)]
Move oper classes and types stuff from users to configreader. It may need to go in a class, I'm not going to investigate that now. Also make HasPermission() a bit easier to read via same changes I did in command_parse, but the strtok/strdup stuff really really has to go somehow I think..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8215
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 15 Oct 2007 22:25:07 +0000 (22:25 +0000)]
Apply some readability changes to ProcessCommand, which coincidentally may speed it up with some compiler optimisation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8214
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 15 Oct 2007 22:10:12 +0000 (22:10 +0000)]
Move some other stuff to helperfuncs (uline related, and timestring)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8213
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 15 Oct 2007 22:07:32 +0000 (22:07 +0000)]
Fuck. Press save, then commit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8212
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 15 Oct 2007 22:06:10 +0000 (22:06 +0000)]
Move InspIRCd::Duration from command_parse to helperfuncs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8211
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 15 Oct 2007 21:36:15 +0000 (21:36 +0000)]
Update windows project to include user_resolver.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8210
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 15 Oct 2007 21:32:41 +0000 (21:32 +0000)]
Split user resolver into its own file.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8209
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 15 Oct 2007 21:30:24 +0000 (21:30 +0000)]
Make install the lib, too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8208
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 15 Oct 2007 21:25:49 +0000 (21:25 +0000)]
This should be the correct set of tweaks to add user_resolver.cpp.
Maybe as my project for later, this should be an automated process.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8207
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 15 Oct 2007 21:04:32 +0000 (21:04 +0000)]
InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ident etc will use.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8206
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 15 Oct 2007 21:03:30 +0000 (21:03 +0000)]
InspTimer -> Timer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8205
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 15 Oct 2007 20:59:05 +0000 (20:59 +0000)]
In the grand tradition of huge fucking commits:
- chanrec -> Channel
- userrec -> User
Enjoy.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 15 Oct 2007 20:55:55 +0000 (20:55 +0000)]
class command_t -> class Command. Whey :D
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 15 Oct 2007 13:11:41 +0000 (13:11 +0000)]
Bad Brain, bad. *spank* :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8201
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 14 Oct 2007 22:33:03 +0000 (22:33 +0000)]
Another dodgy count fixed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8200
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 14 Oct 2007 22:16:59 +0000 (22:16 +0000)]
Just to be fucking akward, windows vista seperates multiple nameservers with spaces whilst other versions of windows use commas.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8198
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 14 Oct 2007 22:12:53 +0000 (22:12 +0000)]
Fix the 'total of -1 modules have been loaded' due to new loader
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8197
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 14 Oct 2007 21:16:44 +0000 (21:16 +0000)]
Make error messages on failure to load command more useful
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8194
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 14 Oct 2007 20:53:44 +0000 (20:53 +0000)]
Fix crashing on startup if there was an error condition in win32
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8193
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 14 Oct 2007 20:13:54 +0000 (20:13 +0000)]
Remove crashdump stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8192
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 14 Oct 2007 19:26:42 +0000 (19:26 +0000)]
Put this back how it was, it didnt help with the fix last night which turned out to be something else
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8190
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 14 Oct 2007 19:23:00 +0000 (19:23 +0000)]
Add new spanningtree files to vc80 solution
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8189
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 14 Oct 2007 19:20:53 +0000 (19:20 +0000)]
Fix indentation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8188
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 14 Oct 2007 19:18:04 +0000 (19:18 +0000)]
Split up spanningtree some more, the filenames should be more intuitive so that developers know where to find stuff (more of this is coming soon)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8187
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 14 Oct 2007 15:46:16 +0000 (15:46 +0000)]
Change the way origins are shown in snonotice, for djGrrr :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8181
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 14 Oct 2007 14:14:15 +0000 (14:14 +0000)]
move opening of log before opening of config so that failure to open the config can be logged
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8179
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 14 Oct 2007 00:06:56 +0000 (00:06 +0000)]
Tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8174
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 13 Oct 2007 23:52:02 +0000 (23:52 +0000)]
Move some stuff around, this will move a crash to a different place and maybe we'll catch it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8171
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 13 Oct 2007 22:58:16 +0000 (22:58 +0000)]
Fixes for potential 4 byte memory leak, and crash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8169
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 13 Oct 2007 22:51:46 +0000 (22:51 +0000)]
And some more tweaks to make sure it frees memory :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8167
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 13 Oct 2007 22:50:34 +0000 (22:50 +0000)]
More fixes to the ident stuff to make sure that one socket doesnt go before the other, without the one thats left knowing its gone!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8166
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 13 Oct 2007 22:15:00 +0000 (22:15 +0000)]
Tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8165
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 13 Oct 2007 22:09:46 +0000 (22:09 +0000)]
Shut up, valgrind
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8163
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 13 Oct 2007 22:02:56 +0000 (22:02 +0000)]
Fix uninitialized var that may stop the ping warning from appearing, thanks djGrrr
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8162
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 13 Oct 2007 21:53:55 +0000 (21:53 +0000)]
IMPORTANT checks in here that special took out thinking they were no longer required. Because of the fact that the inspsocket cull comes after the user cull these *are* required.
This was bought up in discussion many weeks ago but i guess we both thought the other had added these back!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8159
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 13 Oct 2007 21:34:28 +0000 (21:34 +0000)]
This fixes a deletion error here, we were using new[] and not using delete[], but delete instead.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8157
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 13 Oct 2007 21:26:50 +0000 (21:26 +0000)]
Add sanity checks to the ssl modules so that theres no possibility of an out of range fd being passed to the events.
The cull_list commit is a tidy-up only.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8155
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 13 Oct 2007 17:13:15 +0000 (17:13 +0000)]
Fix potential for ssl to block, based on patch submitted by djGrrr, adjusted for trunk new socket engine, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8154
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 11 Oct 2007 22:19:46 +0000 (22:19 +0000)]
Silent CHGIDENT for ulines to prevent noisyness from anope
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8151
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 11 Oct 2007 22:15:58 +0000 (22:15 +0000)]
Check is off by one, this wont break anything but will cut a character off the set ident
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8149
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 11 Oct 2007 21:22:00 +0000 (21:22 +0000)]
Merge in nenolod's unified build patch from bug #413, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8147
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 11 Oct 2007 21:10:42 +0000 (21:10 +0000)]
Fix for bug #435 and fix return codes (these cannot be localonly for add/remove as its more efficient to propogate the SILENCE to the remote server so that messages can be blocked there and not routed)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8145
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Thu, 11 Oct 2007 18:39:49 +0000 (18:39 +0000)]
Added a warning when 4in6 is used for binding
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8144
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Wed, 10 Oct 2007 16:20:34 +0000 (16:20 +0000)]
Fixed bug #437 (Empty userstats setting denies stats to opers too)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8142
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 9 Oct 2007 22:20:09 +0000 (22:20 +0000)]
Change 'unrecognised command BLAH' to 'unrecognised or malformed command BLAH' just to make it obvious to lazy people.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8140
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 9 Oct 2007 15:57:43 +0000 (15:57 +0000)]
sanity check for existing server in DoFailOver seems to have vanished!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8138
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 7 Oct 2007 18:49:28 +0000 (18:49 +0000)]
This should fix m_svshold to not allow the nick to be taken on connect
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8136
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 7 Oct 2007 14:07:41 +0000 (14:07 +0000)]
Support 501 numeric (its different for user modes compared to channel modes) - thanks anmaster
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8134
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Sun, 7 Oct 2007 05:51:31 +0000 (05:51 +0000)]
dz is determined to crash your ircd :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8132
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Sun, 7 Oct 2007 05:50:04 +0000 (05:50 +0000)]
Fixed bug #434 (cycle allows bypassing modes for users outside of the channel). Patch by dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8131
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Oct 2007 13:16:03 +0000 (13:16 +0000)]
I believe the correct spelling is synching not syncing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8130
e03df62e -2008-0410-955e-
edbf42e46eb7
bricker [Sat, 6 Oct 2007 04:15:17 +0000 (04:15 +0000)]
fix some more typo's! now sleep time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8129
e03df62e -2008-0410-955e-
edbf42e46eb7