10415 Commits

Author SHA1 Message Date
Daniel De Graaf
1f7c0573f4 Remove some unused duplicate hooks 2010-08-03 17:32:40 -04:00
Daniel De Graaf
34738d55ca Allow m_sqlauth to set connect class 2010-08-03 17:32:40 -04:00
Daniel De Graaf
e9dc9a534b Fix uninit pointer on MySQL initial connection 2010-08-03 17:32:40 -04:00
Daniel De Graaf
412860415f Handle database not present a bit better, add missing MySQL rehash on init 2010-08-03 17:32:40 -04:00
danieldg
e806d14cf6 SQL API v3 2010-08-03 17:32:40 -04:00
danieldg
3461a9a01a Remove checkconf, it is no longer needed 2010-08-03 17:32:40 -04:00
Jackmcbarn
23cc22515c Change lockserv emergency unlock procedure, and add one for jumpserver 2010-08-03 17:32:40 -04:00
Daniel De Graaf
bca90c347a Rename opermodes parameter to "automodes" to resolve conflict with the migrated <class:modes> 2010-08-03 17:32:40 -04:00
Daniel De Graaf
eb3f5de4dd Filter out modules not applicable to the installed inspircd version 2010-08-03 17:32:40 -04:00
danieldg
ae5251b527 Make MODENOTICE oper-only, noticed by jackmcbarn 2010-08-03 17:32:40 -04:00
Daniel De Graaf
870923f07d Don't implement --atleast-version ourselves, incorrectly 2010-08-03 17:32:40 -04:00
Daniel De Graaf
4dc31cdafc Complain when duplicate tags are found using ConfValue 2010-08-03 17:32:40 -04:00
Daniel De Graaf
7b440a291b Add interface user list to testnet check output 2010-08-03 17:32:40 -04:00
Daniel De Graaf
8c559b491b Warn about duplicate <type> and <class> blocks 2010-08-03 17:32:40 -04:00
Daniel De Graaf
907722538c Change OperInfo to store oper/type/class together.
This allows privelages to be granted using <oper:commands> or
<type:commands> instead of requiring <class> blocks.
2010-08-03 17:32:39 -04:00
Daniel De Graaf
a431868a28 Move "topic" permisison back to "exempt/topiclock" like 2.0 2010-08-03 17:32:39 -04:00
danieldg
aab1f0dd08 Change "CAP *" reply to "CAP $nick", which is the intended use of the parameter 2010-08-03 17:32:39 -04:00
danieldg
0bdb4a7247 Fix mode +L being visibly reset on every FJOIN 2010-08-03 17:32:39 -04:00
Daniel De Graaf
0a2396c749 Fix <connect:deny> crash 2010-08-03 17:32:39 -04:00
Daniel De Graaf
0d19ffde39 Enable POSIX extra modules in UNIX configure 2010-08-03 17:32:39 -04:00
Daniel De Graaf
4e3d60e8ce Add m_chanacl, channel access control groups 2010-08-03 17:32:39 -04:00
Daniel De Graaf
c16e74a5cf Fix override permission checking the wrong list 2010-08-03 17:32:39 -04:00
Daniel De Graaf
50737634cb Funnel access checks through the OnPermissionCheck hook 2010-08-03 17:32:39 -04:00
Daniel De Graaf
8b6206f6f1 Remove mismerged init() addition 2010-08-03 17:32:39 -04:00
Daniel De Graaf
e0bd473202 Fix ModuleManager::SetPriority algorithm which did not handle PRIORITY_BEFORE correctly 2010-08-03 17:32:39 -04:00
Daniel De Graaf
3826b4935d Fix CGI:IRC cloaking happening too late 2010-08-03 17:32:39 -04:00
danieldg
1b908a10d4 Search for SQL service in init(), not in constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12598 e03df62e-2008-0410-955e-edbf42e46eb7
2010-08-03 17:32:39 -04:00
danieldg
6619f1957b Fix SQL modules not all using AddService, noticed by Morpheus
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12595 e03df62e-2008-0410-955e-edbf42e46eb7
2010-08-03 17:32:39 -04:00
Daniel De Graaf
a33e04ee31 Add <include:allow> permissions for included files
This adds a "relative" permission to the existing "none", "file", and
"exec" permissions. This prevents <files rules="/etc/passwd"> and similar
shenanigans in remote include files.
2010-08-03 17:32:39 -04:00
Daniel De Graaf
ac15fad6dd Fix variable shadowing warning 2010-08-03 17:32:39 -04:00
Daniel De Graaf
496d7583fe Use OnChannelPermissionCheck for auditorium 2010-08-03 17:32:39 -04:00
danieldg
d1759c2f98 Take auditorium-see into account when building neighbor list 2010-08-03 17:32:39 -04:00
Daniel De Graaf
1ada28ab22 Change connect class inheritance to use references, allows conn_umode and conn_join to inherit 2010-08-03 17:32:39 -04:00
Daniel De Graaf
79b10a91f5 Allow <oper:classes> to specify classes in addition to <type:classes> 2010-08-03 17:32:39 -04:00
Daniel De Graaf
e88d948e88 Compile fix 2010-08-03 17:32:39 -04:00
Daniel De Graaf
83e1f3955e Change m_override to use the standard <class> permission checks 2010-08-03 17:32:39 -04:00
Daniel De Graaf
43d1b28e5c Send namebase=Z when talking to 2.0 servers when supporting +Z 2010-08-03 17:32:39 -04:00
Daniel De Graaf
89f72a4d63 Create OnChannelPermissionCheck hook 2010-08-03 17:32:39 -04:00
danieldg
c35f3b668e Unset umode +x when a different vhost is set on a user 2010-08-03 17:32:38 -04:00
danieldg
30ebcceec5 Move DNSBL and ident lookups after <connect deny>/bancache/Z:line checks 2010-08-03 17:32:38 -04:00
Daniel De Graaf
040b1bdc8b Fix m_ident deleting sockets that are still in use 2010-08-03 17:32:38 -04:00
danieldg
5401cc3c46 Fix some more incorrect socket use 2010-08-03 17:32:38 -04:00
danieldg
e3e6604145 DelFd should not fail, it will leave a bad dangling pointer in that case 2010-08-03 17:32:38 -04:00
danieldg
d839c7ec3e Don't try quite so hard to writev() the entire buffer in one go 2010-08-03 17:32:38 -04:00
Daniel De Graaf
4351678065 Add RESYNC command to allow automatic recovery from a detected desync 2010-08-03 17:32:38 -04:00
Daniel De Graaf
48ed1fb39b Drop useless default OnModeChange handler 2010-08-03 17:32:38 -04:00
Daniel De Graaf
408be50dd3 Fix m_autoop not running its OnUserJoin hook 2010-08-03 17:32:38 -04:00
Daniel De Graaf
f0c05d3d1c Don't send events for removed FDs when both read and write are ready 2010-08-03 17:32:38 -04:00
danieldg
c11ff2c7e0 Compile fix 2010-08-03 17:32:38 -04:00
Daniel De Graaf
573c32cb9d Log invalid S2S commands a bit better 2010-08-03 17:32:38 -04:00