10231 Commits

Author SHA1 Message Date
danieldg
b4b66ad960 Write out the permchannels database on a timer, not on every mode change
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12446 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12 23:41:22 +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
39cf323606 Fix stats output to divide in floating-point
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12444 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12 20:18:11 +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
554f1eff13 Fix sending null character on callerid metadata, which causes netsplits
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12440 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12 15:11:47 +00:00
danieldg
f06bc4540c Fix help text in helpop, route ACCEPT command to fix callerid
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12439 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12 04:08:11 +00:00
danieldg
bd64961912 Improve support for NetBSD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12438 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12 00:03:44 +00:00
danieldg
2abcc65d69 When we get events on unknown file descriptors, unregister them rather than spinning at 100% CPU
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12436 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-11 20:27:03 +00:00
danieldg
7f0a9608c8 Restart server_hash iteration after quitting dead and pinged out servers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12435 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-11 16:07:52 +00:00
danieldg
62a145ce24 Fix double-sending of locally sourced kills
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12434 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-11 15:29:38 +00:00
danieldg
c6a4d51c00 Make UID modify its parameter on a nick collision so that services has an easier time understanding things
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12433 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-11 07:17:30 +00:00
danieldg
baa663e515 Fix routing of KILL command when sourced from a server
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12432 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-11 06:56:51 +00:00
danieldg
7cc4e61f0e Allow "make QUICK=1" to speed up the compile (disables -O2)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12431 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-11 04:34:38 +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
d4d2b9a1fb Show SSL fingerprint in /WHOIS line, allow fingerprints to be hidden from non-opers with config option
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12429 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-10 23:11:13 +00:00
danieldg
e5a5d4f82e Fix TBAN not working if the banner is owner/protected
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12426 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-10 20:54:32 +00:00
danieldg
26e4598f6c Fix incorrect ServerInstance pointer in m_sasl
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12425 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-10 20:54:22 +00:00
danieldg
23b0ee51ed Change display of PROP list to match the input format
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12424 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-10 20:54:12 +00:00
danieldg
87ad22b606 Better error messages for m_autoop
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12423 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-10 20:54:03 +00:00
danieldg
b790dee487 Fix incorrect check of mode permissions when displaying them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12422 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-10 20:53:54 +00:00
danieldg
99f3816bdd 2.0 beta 2 release
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12420 e03df62e-2008-0410-955e-edbf42e46eb7
v2.0.0b2
2010-02-10 04:16:57 +00:00
danieldg
bdbe205080 Fix WHOISNOTICE parameters being sent backwards
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12419 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-10 03:09:05 +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
danieldg
f0a75392b6 Fix typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12417 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 23:14:49 +00:00
danieldg
8e982095e2 Sort CAPAB CHANMODES and USERMODES
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12416 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 22:53:41 +00:00
danieldg
26f48e3db3 Fix double-free when catching an exception in module init()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12415 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 21:04:14 +00:00
danieldg
76f9f4b47a Eliminate duplicate names between user and channel modes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12414 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 19:35:14 +00:00
danieldg
37b9455f70 Allow exemptchanops to modify the channel access level needed to bypass +t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12413 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 15:18:06 +00:00
danieldg
d1f2a43050 Update m_exemptchanops to allow users to specify the status required for the exemption
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12412 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 08:08:39 +00:00
danieldg
7f722fa656 Move password checking into connect class search
This makes it possible to have a passworded connect class that is
open to any host without denying users that do not use the password.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12411 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 05:54:43 +00:00
danieldg
4aeda51771 Clean up documentation of connect blocks a bit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12410 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 05:35:19 +00:00
danieldg
30ebb6b404 This module isn't supposed to be part of 2.0; it will be third-party until 2.1
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12409 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 05:05:09 +00:00
danieldg
2bebd9500a Change <connect:requiresasl> to <connect:requireaccount>, which is more accurate
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12408 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 04:57:13 +00:00
danieldg
a5e2250a2c Move chanhistory to PostJoin hook
While irssi is currently able to show the lines sent prior to join,
it is better for this module to work on all clients without modification.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12407 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 03:40:20 +00:00
danieldg
c4705deb9f half-voice is a better name than status prefix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12406 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 02:22:44 +00:00
danieldg
2528212724 Add authorization cache module
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12405 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 02:22:36 +00:00
danieldg
aab7998583 Add random number generation functions to InspIRCd class.
Default implementation uses libc random(), which can be better than rand().
If gnutls is loaded, gcrypt will be used to provide random numbers.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12404 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 02:22:27 +00:00
danieldg
db790d9d15 Fix error message on OPTCOMMON mismatch
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12403 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09 00:55:35 +00:00
danieldg
b7bed41eb9 SSL certificate requests prior to full registration must use SocketCertificateRequest
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12402 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-08 22:40:30 +00:00
danieldg
7cf132bc6a Add <connect requiressl="trusted"> to force CA verification for clients on this block
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12401 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-08 19:38:54 +00:00
danieldg
e827892a13 Also allow <connect rules>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12400 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-08 19:38:46 +00:00
danieldg
f0a928a2f7 Allow <connect motd> to select an alternate MOTD file to display
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12399 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-08 15:07:29 +00:00
danieldg
ca0b7b42bd Allow <connect autojoin=""> to override the m_conn_join channel list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12398 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-08 14:51:26 +00:00
danieldg
39b8524e2c Fix typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12397 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-07 23:32:26 +00:00
danieldg
934a3f296f Fix crash on kick when +J is set, +misc cleanup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12396 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-07 23:18:53 +00:00
danieldg
f91f6495f4 Update example config for passforward and RPC module changes [jdhore]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12395 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-07 05:24:06 +00:00
danieldg
d1b146808e More cleanup of quit servers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12394 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-07 03:36:55 +00:00
danieldg
60805faa36 Don't send GODMODE snomask for remote users (let SendGlobalSno handle that)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12392 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-07 03:03:57 +00:00
danieldg
8170cabf0f Change PROP command format to accept multiple changes in one line
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12390 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-07 00:36:31 +00:00