7048 Commits

Author SHA1 Message Date
brain
bc2a959b4c 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
2007-10-18 17:31:01 +00:00
brain
d4d432f6cd Remove debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8221 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-17 20:29:15 +00:00
brain
4bd22e7be8 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
2007-10-17 20:28:45 +00:00
w00t
db0a845b46 Cache the culllist' GetUser() return. Looks cleaner.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8219 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-16 12:55:47 +00:00
w00t
fec45ead63 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
2007-10-16 10:29:01 +00:00
w00t
0060869dd5 Typo fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8217 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-16 10:22:31 +00:00
w00t
d6bcb852f2 Update a comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8216 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-16 10:21:11 +00:00
w00t
8830c2848b 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
2007-10-15 22:33:18 +00:00
w00t
f490d22f67 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
2007-10-15 22:25:07 +00:00
w00t
0fb5041fc8 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
2007-10-15 22:10:12 +00:00
w00t
2c25d4a344 Fuck. Press save, then commit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8212 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15 22:07:32 +00:00
w00t
8aa4df885e Move InspIRCd::Duration from command_parse to helperfuncs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8211 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15 22:06:10 +00:00
brain
bc804f5eeb Update windows project to include user_resolver.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8210 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15 21:36:15 +00:00
w00t
2116de82e0 Split user resolver into its own file.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8209 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15 21:32:41 +00:00
brain
b543668e4a Make install the lib, too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8208 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15 21:30:24 +00:00
brain
1cc2417372 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
2007-10-15 21:25:49 +00:00
w00t
2b68243097 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
2007-10-15 21:04:32 +00:00
w00t
03e0fb206d InspTimer -> Timer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8205 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15 21:03:30 +00:00
w00t
b57c7f4e46 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
2007-10-15 20:59:05 +00:00
w00t
694e307c09 class command_t -> class Command. Whey :D
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15 20:55:55 +00:00
w00t
802cbffcb7 Bad Brain, bad. *spank* :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8201 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15 13:11:41 +00:00
brain
b194ca40b6 Another dodgy count fixed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8200 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14 22:33:03 +00:00
brain
8bfb41c3cd 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
2007-10-14 22:16:59 +00:00
brain
56e1f95a11 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
2007-10-14 22:12:53 +00:00
brain
45776df702 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
2007-10-14 21:16:44 +00:00
brain
71532e29af 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
2007-10-14 20:53:44 +00:00
brain
e4aa8c9513 Remove crashdump stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8192 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14 20:13:54 +00:00
brain
4d908f4bc0 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
2007-10-14 19:26:42 +00:00
brain
8e18181698 Add new spanningtree files to vc80 solution
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8189 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14 19:23:00 +00:00
brain
faac457b13 Fix indentation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8188 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14 19:20:53 +00:00
brain
f087d825a8 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
2007-10-14 19:18:04 +00:00
brain
af8692ea3b 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
2007-10-14 15:46:16 +00:00
brain
43d549b4e1 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
2007-10-14 14:14:15 +00:00
brain
c7be785d64 Tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8174 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14 00:06:56 +00:00
brain
8343f1286b 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
2007-10-13 23:52:02 +00:00
brain
178d4697c5 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
2007-10-13 22:58:16 +00:00
brain
7330b6579e 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
2007-10-13 22:51:46 +00:00
brain
9ca3a5fdad 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
2007-10-13 22:50:34 +00:00
brain
a6d1638ff6 Tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8165 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13 22:15:00 +00:00
brain
e545adc628 Shut up, valgrind
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8163 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13 22:09:46 +00:00
brain
d8a4b50e31 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
2007-10-13 22:02:56 +00:00
brain
5f45e12a4d 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
2007-10-13 21:53:55 +00:00
brain
28eb93f096 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
2007-10-13 21:34:28 +00:00
brain
9422f4157c 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
2007-10-13 21:26:50 +00:00
brain
5ee8304694 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
2007-10-13 17:13:15 +00:00
brain
e48b7c6e6a 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
2007-10-11 22:19:46 +00:00
brain
96de3c22e8 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
2007-10-11 22:15:58 +00:00
brain
23feae957d 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
2007-10-11 21:22:00 +00:00
brain
aa46dbe058 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
2007-10-11 21:10:42 +00:00
special
5102d15bde 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
2007-10-11 18:39:49 +00:00