6384 Commits

Author SHA1 Message Date
burlex
bbf6f3c5d2 + Added a check between servers prefixes at the CAPAB negotiation stage. This will prevent servers with prefixes from linking up in the first place (later on they will get errored out for invalid prefix in FJOIN most likely, but it's better to stop them from linking in the first place)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7312 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 20:07:45 +00:00
brain
a84438cf93 Win compile fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7311 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 19:41:28 +00:00
brain
2315300210 Add sections to installer for pcre, segregate the m_filter_pcre for the installer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7310 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 19:38:10 +00:00
brain
9471ad4d7a Windows build stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7309 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 19:28:29 +00:00
brain
939ac66fc0 Tidyup ifdefs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7308 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 19:21:06 +00:00
burlex
3298c5517b - Fix for a bug in the win32 inet_ptoa implementation causing CIDR parsing to incorrectly return false in some instances.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7307 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 18:34:23 +00:00
brain
c5c4ed7ed1 This should fix bug #317, we shouldnt be using send_mode for user modes, we should use send_mode_explicit spanningtree event
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7306 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 17:39:38 +00:00
brain
f1b08a5204 Fix for bug #315 reported by Nekos, change the exception tags to <securehost> so they dont conflict with <securelist:waittime>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7305 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 17:36:55 +00:00
pippijn
67e055124d Some general syntax cleanups.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7304 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 17:22:37 +00:00
brain
18e822f8bb Fix for bug #324 reported by HiroP
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7303 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 17:03:16 +00:00
brain
97a4acebb5 Fix problem where two unrelated options are named identically, thanks for reminding me djGrrr
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7302 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 16:44:04 +00:00
peavey
d7ecb61986 This is not, not routing of SQUIT, nothing to see here, move along :>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7301 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 22:04:14 +00:00
brain
cdd45a8c70 Have the installer install cert.pem and key.pem to the conf/ dir only if they dont exist already (if they already exist, the user has generated, purchased or otherwise obtained their own)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7300 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 21:59:18 +00:00
brain
73b16c493f Add default windows certs. People shouldnt use these for more than evaluation purposes of the ssl module to ensure that it works, before spending time OR money on buying or obtaining a real certificate
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7299 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 21:57:21 +00:00
brain
287782d6ef Me so dummee.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7298 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 21:43:16 +00:00
brain
57f5ae52a2 And get it right.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7297 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 21:28:29 +00:00
brain
0b7bfb59a6 Update descriptions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7296 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 21:27:51 +00:00
brain
b319e2ad7d Being as people while about the odd kludge here and there im going to spend my time on fruitless stuff :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7295 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 21:21:43 +00:00
brain
77c1607bfc Nasty kludge to allow for optional install of ssl:
If the user doesnt have the ssl box ticked, the ssl modules are installed but immediately deleted by the installer, and the gnutls dlls are not installed.
If the user does have the box ticked (default) the ssl section immediately puts the ssl modules back again, and then installs the gnutls libs (ick)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7294 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 21:08:56 +00:00
burlex
577e48e540 * Fixed IOCPEngine under x64 (because of incorrect pointer sizes)
- Fixed configure / VC8 projects for x64 compiling.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7293 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 20:58:51 +00:00
peavey
908f51760a Remove remote SQUIT hacks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7292 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 20:45:40 +00:00
peavey
fee688e9b7 Make this require 2 params, just like god intended it. (no remote squit hacks)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7291 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 20:39:46 +00:00
burlex
5dc1bcc034 - Fixed configure script to allow gnutls compilation under win32.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7290 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 20:15:15 +00:00
brain
c5b337e292 Add DllExport
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7289 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 20:00:33 +00:00
brain
019fb37fd6 Make these safe for use in vc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7288 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 19:57:20 +00:00
burlex
5ddb1366f7 + Added x64 solutions for VC2005, for future work. This does not under any circumstances mean it will even compile work properly yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7287 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 19:33:50 +00:00
peavey
d0706f5d57 new rsquit command handler, this is still work in progress.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7286 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 19:30:34 +00:00
peavey
72e895e5aa strip RSQUIT from protocol, part of new RSQUIT, not ready for use yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7285 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 19:28:13 +00:00
brain
86ce62c9e6 I think this fixes visual studio oddities
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7284 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 19:17:14 +00:00
brain
17d91b065e Fixes for tokenization oddness with metadata, and weird behaviour of std::istringstream where the .str() method returns the whole string from the start to end, even AFTER youve read elements from it!
Use irc::tokenstream instead and add some overridden methods to it. This is smarter as it reuses code and allows us to format metadata the same way we format irc data.
NOTE: If you run any old servers alongside new servers (this revision) you might see spurious colons on the start of reasons for svsholds, cbans and filters. These can safely be ignored)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7283 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 18:12:04 +00:00
brain
a09c6eb1ce Fix advertising of +h/% in 005 and 004 numerics when halfops are not enabled in the conf, spotted by Smartys, fixes bug #322
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7282 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-12 16:30:32 +00:00
brain
098776a681 Upstream patch from <mm@freebsd.org>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7281 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-12 16:23:32 +00:00
brain
dc83545a0c This breaks stuff. We can't use it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7280 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 23:14:44 +00:00
brain
6d0a26f759 Whoops, that was silly, the double print thing wont compile for any other OS but windows!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7279 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 22:58:09 +00:00
brain
db0c7fae77 Fix double printing of 'setting log file' and 'setting config file' paths.
Add comment about not using direct pointer from GetCommandLine()


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7278 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 22:56:53 +00:00
brain
a25765a1cf We need to pass a copy of GetCommandLine() not the actual return pointer.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7277 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 22:30:56 +00:00
brain
9ee2d5ec71 Tweak some tabular declarations to look correct on 8-width tabs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7276 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 22:16:17 +00:00
brain
185829f827 Woo, fixed the bug, win2k doesnt like the AUTHZ_LEVEL stuff :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7275 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 22:05:25 +00:00
brain
f5be089c4a Fixed commandline stuff for CreateProcess, but it looks like win2k doesnt like that AUTHZ const. Commented it out for now till burlex comes up with a solution
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7274 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 21:51:22 +00:00
burlex
fccc2136b8 * Changes to userprocess functions to allow flood limit removal by m_operflood.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7273 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 21:39:09 +00:00
brain
13be12c812 Prompting for wether or not to wipe the .h and build from clean (default to no)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7272 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 21:06:17 +00:00
brain
4a0a02a4ef Change from /GS to /Gm in makefiles
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7271 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 20:54:30 +00:00
burlex
9a9a39c978 - Added more debug output to windows fork in order to help debug problems encountered.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7270 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 20:35:28 +00:00
brain
895c3dcdf0 Put the check back so we dont keep doing builds from scratch every time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7269 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 20:34:47 +00:00
brain
71b9ae263d The spelling nazis are amongst us!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7268 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 20:11:08 +00:00
brain
2c8326894a Remove unused var
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7267 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 20:04:16 +00:00
burlex
d83f5766b8 - Removed un-needed event create at windows fork.
* Fixed command line arguments when using fork under windows.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7266 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-09 23:20:42 +00:00
frostycoolslug
68531a8197 Fixed issue preventing startup without --nofork under win32
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7265 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-09 23:10:39 +00:00
brain
52acbb466b A ton more clear() and empty() stuff thats been lingering on the long term todo for too long a term :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7264 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-09 12:32:34 +00:00
brain
0161215f42 Change some = "" to clear() and some == "" to .empty()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7263 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-09 12:10:12 +00:00