2109 Commits

Author SHA1 Message Date
attilamolnar
f36892a2d4 Remove unused channelmanager 2012-06-30 00:05:00 +02:00
Peter Powell
b5e60891b6 InviteBase needs to be a CoreExport on Windows. 2012-06-28 01:19:11 +01:00
attilamolnar
d2e189102b Fix pending invites not being removed when a channel was deleted or had its TS lowered 2012-06-17 17:54:49 +02:00
William Pitcock
5fd31ec5a6 users: introduce OnSetClientIP hook.
This hook is called whenever a client's IP is modified.
2012-06-12 22:49:29 -07:00
William Pitcock
f047427230 users: add SetClientIP function for irc::sockets::sockaddrs type.
Code which touches client_sa should instead use this SetClientIP function so that hooks may
be called in the future.
2012-06-12 22:49:29 -07:00
attilamolnar
e3e7cb89e1 Add testsuite tests for UID generation 2012-05-27 23:30:02 +02:00
Peter Powell
cfbb5630c5 Fix compile error caused by unistd.h not existing on Windows. 2012-05-23 13:15:22 +01:00
Robin Burchell
fcacc8e030 Merge pull request #96 from Justasic/insp20
[2.0] Process escape sequences for MOTD for issue #23
2012-05-03 07:28:59 -07:00
Justin Crawford
a2d85a098e Fixed using a function on every call for /motd, causing lag on large networks (requested by w00t) 2012-04-22 23:59:53 -07:00
Robby-
46a3904619 Replace copyright headers with headers granting specific authors copyright 2012-04-19 20:58:29 +02:00
Robby-
627fa2acc8 Add conf/ to include paths and fix some typos 2012-04-19 10:30:08 +02:00
Robin Burchell
7f0eca26b4 FileWriter hasn't been non-blocking for a very, very long time. 2012-04-16 12:01:54 +02:00
Guillaume Delacour
937c562ce4 Fix compilation with GCC 4.7.
GCC 4.7 headers no longer implicitly include unistd.h in many places, see
http://gcc.gnu.org/gcc-4.7/porting_to.html

Fixes #65
2012-04-16 08:20:46 +02:00
Robin Burchell
76619990ad Merge pull request #55 from Justasic/insp20
[2.0] Fixes for bug #12
2012-04-15 12:53:52 -07:00
Robby-
c376d800eb Backported Shawn's NoSnoticeStack code from insp21 2012-04-15 10:45:34 +02:00
Justin Crawford
9ebd9cba72 Fix some of the include guard names (requested by SaberUK) 2012-04-14 23:33:20 -07:00
Justin Crawford
df5f76832e Fixes for bug #12 2012-04-14 18:03:25 -07:00
Rutger
10e0af3831 Add <connect:maxconnwarn>
Created the maxconnwarn variable in the connect block, so you can make
connect blocks that only warns about max connections if you want to.
This reduces noise from connecting clients that have low maxlocal and/or
maxglobal. It is enabled by default.
2012-04-01 21:11:25 +02:00
Jackmcbarn
58ab072505 Fix recursion of QuitUser in SendQ quits 2011-05-23 21:51:08 -04:00
Adam
b56565eac2 Fixed Windows build on VS 2010 2011-04-10 17:54:20 -04:00
Jackmcbarn
0afcb5ce88 Fix bug #113 2010-12-23 14:50:11 -05:00
Daniel De Graaf
8a0f4e8c36 Include a placement operator new for classes that hide operator new 2010-08-17 19:37:19 -04:00
Daniel De Graaf
43d893c719 Add log header including ircd version 2010-04-28 15:33:27 -05:00
Daniel De Graaf
dc203f9f20 Define comparator for irc::sockets::sockaddrs
This only compares IP/port, which ignores IPv6 flow information and
scope ID, which aren't important in testing for equality.
2010-04-26 19:08:43 -05:00
Daniel De Graaf
cd6b7a8cda Split up API_VERSION number
Since we can make API changes in multiple branches at the same time,
a single sequence number is insufficient. Use two numbers to indicate
the major version and API increment.
2010-04-01 19:01:32 -05:00
danieldg
950b9e7043 Change <security:operspywhois> to a tristate
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12653 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-22 22:30:21 +00:00
danieldg
10d8e9151d Remove channel argument from OnSendWhoLine, this information is already available in params[0]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12650 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-22 20:29:05 +00:00
danieldg
a9754ce49b Allow static initialization of dynamic_reference objects
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12648 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-22 18:02:09 +00:00
danieldg
f5c631ef86 Add RAWIO log level which is more verbose than DEBUG
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12646 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-19 18:06:39 +00:00
danieldg
7cb909b0f3 PURE_STATIC fixes to use normal <module> tags
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12641 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-18 15:14:31 +00:00
danieldg
d7b1e9fb44 Add <options:cyclehostsfromuser> to configure source for mode changes on host cycle
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12636 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-14 23:59:43 +00:00
danieldg
e9808ffb01 Convert MySQL to SQLv3
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12629 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-13 04:13:36 +00:00
danieldg
11e45f2cb7 Convert pgsql to SQLv3
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12626 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-13 01:28:54 +00:00
danieldg
6d55803ae8 Fix ModuleManager::SetPriority algorithm which did not handle PRIORITY_BEFORE correctly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12600 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-06 01:27:20 +00:00
danieldg
a018f26edd DelFd should not fail, it will leave a bad dangling pointer in that case
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12584 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-02 03:17:04 +00:00
danieldg
61197974c5 Make remote/local snomasks consistent and allow use without naming
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12568 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-25 19:42:08 +00:00
danieldg
03a1bf15b1 Replace #define IPV6 with <config defaultbind="ipv6">, and autodetect if not specified
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12550 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-23 18:45:26 +00:00
danieldg
f91a61fa22 Add Base64 encode/decode functions to the core
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12507 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-21 17:08:45 +00:00
danieldg
1b063c74b4 Replace m_halfvoice with m_customprefix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12503 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-20 16:49:14 +00:00
danieldg
4d46f5f9ef Restore <options:exemptchanops> with long names
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12502 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-20 09:15:55 +00:00
danieldg
c2ec183ffe Kill m_spy, which was replaced by channels/auspex in 1.2 but kept alive for nostalgia
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12497 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-19 02:50:29 +00:00
danieldg
8cb1935360 Allow SASL messages to be targeted at the services server
<sasl target="services.example.net"> will avoid broadcasting all
authentication messages across the network, which improves security.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12494 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-18 21:23:00 +00:00
danieldg
394414b7eb Defer module init on initial load for easier dependency checking
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12477 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-16 20:32:43 +00:00
danieldg
55808216a8 Show opers the raw VERSION string, not the custom one
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12470 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-15 23:02:34 +00:00
danieldg
4498f1abd1 m_dnsbl updates
Prevent user registration until dnsbl lookups are complete
Allow DNSBLs to be checked using <connect:dnsbl> (MARK type)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12454 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-14 00:31:44 +00:00
danieldg
69e28c67dd Remove possible references to deleted User objects due to DNS lookups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12445 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12 22:30:27 +00:00
danieldg
5ed94d9627 Fix conversion warnings on g++ 3.4
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12443 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12 19:50:23 +00:00
danieldg
f5d5cee19a Floating-point math should have no place in an ircd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12442 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12 17:06:45 +00:00
danieldg
db2a4c2c15 Change SERVICE_{CMODE,UMODE} to SERVICE_MODE, which makes more sense
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12430 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-11 04:09:22 +00:00
danieldg
9ed56e9e02 Why are we wasting space on DieValue?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12418 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-10 01:48:43 +00:00