9553 Commits

Author SHA1 Message Date
w00t
ce262fcaaf Provide some kind of output so it doesn't look like it's doing nothing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11490 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 21:49:39 +00:00
w00t
818a53e13a Track installed module versions, so we can do upgrades properly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11489 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 21:49:35 +00:00
w00t
eb0fb52418 Allow for string comparison of git IDs.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11488 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 19:55:26 +00:00
w00t
f2f4bf26ce Use string versions in "module" line instead of numerical versions.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11487 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 19:55:23 +00:00
w00t
8a92502932 Exit if there were errors reading configuration on startup.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11486 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 16:09:30 +00:00
w00t
8c6aa61518 Apparantly modulemanager can't handle empty lines.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11485 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 09:46:42 +00:00
peavey
32c1365046 Missed removing m_testcommand.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11484 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 01:00:57 +00:00
peavey
0df46f5b4e Updates for added/removed files.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11483 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 00:58:16 +00:00
w00t
c120298c83 Remove m_testcommand too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11482 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 00:19:03 +00:00
danieldg
72d33e500e Fix non-interactive configure asking SSL certificate generation question, patch from satmd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11481 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 00:03:44 +00:00
w00t
90ea385688 Hooray unused variables. Thanks MSVC.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11480 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03 22:47:39 +00:00
danieldg
235d1581ab Now that the official repository is on gitorious, remove my redundant repository
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11479 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03 22:44:27 +00:00
w00t
4a97566a61 Change link of official third party repo to point to gitorious repo.
This isn't quite working yet, but it will be shortly.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11478 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03 22:00:53 +00:00
w00t
cdb8a029dc Comment on what looks like incorrect behaviour in User::Oper().
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11477 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03 21:44:12 +00:00
w00t
9c5fa4bd60 Revert "Don't do all the oper gubbins if the opertype doesn't exist. I've absolutely no idea why we did this before but it's definitely not good."
This reverts commit d8ee5433eab5c67e9094d9114e3696728f1cab2a.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11476 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03 21:44:10 +00:00
w00t
f956a4cc6c Revert "Find the right variable so it actually works, too."
This reverts commit a245aa22076e17e72c84e5a0f5699209cdf62727.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11475 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03 21:44:07 +00:00
w00t
a245aa2207 Find the right variable so it actually works, too.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11474 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03 21:19:03 +00:00
w00t
d8ee5433ea Don't do all the oper gubbins if the opertype doesn't exist. I've absolutely no idea why we did this before but it's definitely not good.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11473 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03 21:11:46 +00:00
w00t
61120e6f72 Remove m_foobar. This has no practical purpose, except as a module basis,
and nowdays we have plenty of others that can serve for that. Rest in peace.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11472 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03 21:00:19 +00:00
w00t
6d2182da18 Fix types on Windows. Hooray for not supporting stdint.h. Thanks to Special.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11471 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03 17:42:26 +00:00
w00t
f19b6d5eb2 Change default connect timeouts to 10. There's really no need to have anything higher than this by default (except for developers, but surely they're capable of changing a default.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11470 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03 15:52:24 +00:00
w00t
f6f8605b15 Purely a documentation fix: PRIO_AFTER doesn't exist any more, it's PRIORITY_AFTER.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11469 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03 14:00:15 +00:00
brain
6169238343 We dont support these compilers any more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11468 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 23:29:54 +00:00
brain
bdec29f524 I am sure i deleted these before
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11467 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 23:29:08 +00:00
peavey
9b35fab349 Fix our getops implementation on windows. Have optind available, and make sure it always points to the next entry in the argv list as described by POSIX.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11466 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 22:36:45 +00:00
peavey
091e6e8bd9 Make sure usage lines up neatly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11465 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 22:23:46 +00:00
peavey
843ee9d4a2 Fix a few typos in here so it compiles again.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11464 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 22:23:45 +00:00
w00t
66c72fa237 Trivial commit to add .gitignore to ..gitignore!
(And test multiline commits.)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11463 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 22:15:29 +00:00
w00t
70087b5cef Change all non-fatal GNUTLS initialisation notices to debug level, to avoid unnecessary questions.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11462 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 19:29:24 +00:00
peavey
fdcdf7c1c0 Forget to remove a #endif
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11461 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 18:13:08 +00:00
peavey
1a9b84820c No forget using windows' broken inet_pton and inet_ntop, they are not POSIX compliant and just causes more compile errors. We use our own, period.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11460 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 18:08:49 +00:00
peavey
2f1466ee94 Since Windows SDK6.0a inet_pton and inet_ntop is defined if (NTDDI_VERSION >= NTDDI_LONGHORN). I found a similar fix in pythons socketcode and thus think this is fine.
Fixes the breakage Brain mentions in r11407.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11459 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 17:42:31 +00:00
w00t
e09c036788 Push SVN ignores to .gitignore, so I can stop going insane.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11458 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 16:04:10 +00:00
w00t
2da6369ab2 Fix a missed reference
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11457 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0rc4
2009-08-02 15:05:06 +00:00
w00t
9c25b81aee Bump version number to rc4
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11454 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 14:08:49 +00:00
w00t
fa676cfc88 Patch to not increment nickchange counter for nick changes that would be blocked elsewhere, fixes bug #874. Patch by dz, but he was too slow to commit it :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11453 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 14:02:25 +00:00
w00t
0eabe028e2 Don't apply bans to E:Lined connections. Should fix bug #896.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11452 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-01 22:16:58 +00:00
w00t
090e7b6161 Show config warnings/errors regardless of loglevel on startup.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11451 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-01 22:02:57 +00:00
w00t
c71db5cbde Various rehash fixes that it seems were introduced by untested code.
- Remove unused ReportConfigError member
- Don't report successful load (and spam modules that failed to load) if there is a config error
- Restore server name before attempting to send error string to client(s) otherwise most of them won't recieve the notifications.
Fixes bug #891. Still to come: report errors loudly on startup regardless of debug mode.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11450 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-01 21:58:17 +00:00
w00t
ee465c20b6 Check that the <connect> block actually specifies a host before checking whether the user matches it. Allows for <connect> blocks on other criteria, like ports - fixes bug #797.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11449 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-01 21:22:50 +00:00
w00t
60a6872021 Reconnect to LDAP server if connection goes away, fixes bug #818.
NOTE: I don't have an LDAP setup, so I'm totally in the blind on these commits.
Sorry, but it seems nobody else can be arsed to do it, so I will.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11448 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-01 21:05:06 +00:00
danieldg
922cec5bc3 Rehash message fixes from Ankit, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11447 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-31 21:59:31 +00:00
special
e9f2476e65 Send a failure numeric instead of QuitUser when STARTTLS is used after registration, because it could be used accidentally by users. Suggested by dKingston
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11445 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-27 02:08:17 +00:00
dz
3111c6053e don't send out global snotices from every server on NICKUNLOCK, fixes bug #892 reported by Taros
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11444 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-26 11:26:34 +00:00
special
2523818db5 Use correct behavior (as per C++) for 'delete NULL' on windows; found by Adam and CyberBotX
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11443 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-19 07:27:30 +00:00
danieldg
6eeecaada5 Remove bad check for channel op in m_auditorium, fixes bug #886
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11441 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-07 04:06:09 +00:00
peavey
db3b51a5b4 Remove m_ssl_oper_cert and clarify how to use it in m_sslinfo. Patch by jdhore.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11440 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-04 23:32:01 +00:00
peavey
22862b8f1a Fix possible segfault on giving an unknown cmdline argument. index holds the ref to the longopts array if found else it is NULL. optind however holds the next argv to be processed thus optind-1 is the correct index value to use.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11439 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-04 21:31:40 +00:00
danieldg
1c9d5f4123 Use server name for source of remote TIME rather than SID
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11438 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03 22:09:36 +00:00
danieldg
5b7cf37e60 Fix m_callerid message routing for remote users, destination got no notice of attempted message
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11437 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03 21:00:42 +00:00