attilamolnar
c202dea024
Replace OnRehash() with ReadConfig() that is called on boot, on module load and on rehash
...
This eliminates the need for calling OnRehash() in init()
2013-08-30 13:15:10 +02:00
attilamolnar
5384ddf545
Fix Windows build and a few more problems
2013-08-27 15:03:10 +02:00
attilamolnar
19cc8380fb
Store oper types and opers in separate containers
2013-08-13 14:22:07 +02:00
attilamolnar
6d39615998
Add ConfigTag::getDuration() with optional bounds checking
2013-08-12 19:20:18 +02:00
Peter Powell
29822a263b
Add <path> keys for all of the compile-time paths.
...
Also, make all paths in the config relative to their associated
directory. This reverts a change in 2.0 which turned out to be a
terrible idea, especially for system-wide installations.
2013-08-12 16:53:33 +01:00
Peter Powell
4509cbcc0b
Rename <options:moronbanner> to <options:xlinemessage>.
...
This name is more descriptive of what is actually is used for.
2013-08-10 14:04:09 +01:00
Peter Powell
86f650e6b8
Replace range() with min and max arguments on getInt().
2013-08-10 14:04:09 +01:00
attilamolnar
e4b76e6502
Move host cycle logic into m_hostcycle
2013-08-09 18:10:48 +02:00
Daniel Vassdal
3ae91bafe7
Allow for skipping clone checking before DNS is complete.
2013-07-02 10:55:51 -07:00
Peter Powell
bbeb5ea386
Use iostream instead of C-style file operations.
2013-06-06 01:44:57 +01:00
Peter Powell
7dfcffd685
Start to replace MAXBUF with <limits:maxline>.
2013-06-06 00:41:06 +01:00
attilamolnar
b01dc3cb86
Move a few trivial functions into headers
2013-06-02 00:28:55 +02:00
Peter Powell
5ad9b97fcf
Purge a ton of code related to non <log> related logging.
...
- InspIRCd::OpenLog
- ./inspircd --logfile [file]
This is no longer needed now we have (since 1.2) custom logging.
2013-05-19 17:11:53 +01:00
attilamolnar
c5a4658380
Allow spaces (and more) in oper types
...
The spaces are converted to '_' characters in OPERTYPE for 2.0 servers
Issue #533 suggested by @ankitkv
2013-05-16 01:56:06 +02:00
Adam
8428bbb387
Modularize DNS
...
The DNS modules are temporarily in commands/ so they're loaded automatically
Thanks to Attila for helping with much of this.
2013-04-26 16:59:29 -05:00
Peter Powell
11cafc12d5
Tidy up source files:
...
- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.
2013-04-12 17:03:05 +01:00
Peter Powell
5c29c53f65
Convert ISUPPORT to use a map instead of a string.
2013-04-11 23:08:03 +01:00
attilamolnar
ebe5b201aa
Migrate u_listmode.h into the core, change +b to use it
2013-04-08 23:13:24 +02:00
attilamolnar
f86f450701
Move whowas settings into cmd_whowas from ConfigReader
2013-04-04 19:05:20 +02:00
attilamolnar
56cae0f3a4
Remove legacy code, mostly related to 1.2 compatibility
2013-04-01 00:54:58 +02:00
attilamolnar
71d53e4883
Remove ServerLimits::Finalise(), it's completely wrong
...
Truncate <limits:identmax>+1 long idents in User::ChangeIdent()
2012-12-09 18:12:09 +01:00
attilamolnar
954786c678
Move ServerConfig::ProcessColors() into class InspIRCd, as a helper function
...
Change signature to accept a file_cache reference so modules can use it easily
2012-10-29 18:27:17 +01:00
attilamolnar
6abc0b8ca7
Make ConfigReader::GetSID() return a const reference to a string instead of a string
2012-09-30 03:04:08 +02:00
attilamolnar
7aacf73950
Add a config option to enable/disable the welcome notice sent to clients after successful registration
...
Fixes #284 reported by @hoggeh
2012-08-25 00:37:04 +02:00
Justin Crawford
c79475caa8
Added color codes to /rules, moved the parsing to ServerConfig and cleaned the code up a bit
2012-07-06 09:15:48 -07:00
Peter Powell
808a0a0957
Fix Doxygen syntax errors.
2012-07-05 21:00:35 +01:00
Robby-
46a3904619
Replace copyright headers with headers granting specific authors copyright
2012-04-19 20:58:29 +02:00
Robby-
c376d800eb
Backported Shawn's NoSnoticeStack code from insp21
2012-04-15 10:45:34 +02:00
Jackmcbarn
0afcb5ce88
Fix bug #113
2010-12-23 14:50:11 -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
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
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
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
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
f2256deeef
Executable include for MOTD and more
...
This introduces an <execfiles> tag that reads files from the output of
a command, in the same way as executable includes. The files specified
here can also be used anywhere a file is used (opermotd, randquote, etc)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12354 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-02 16:47:25 +00:00
danieldg
96e4434f90
Remove MaxWhoResults, replace with an increase of Penalty based on result list size
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12325 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-29 00:08:45 +00:00
brain
cd712c40e1
...because every now and again, i have to do a massive commit.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11 03:07:32 +00:00
danieldg
a95d82e524
Get rid of DieDelay, it just freezes the ircd prior to exit
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12084 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-11 00:26:05 +00:00
danieldg
80df092fa3
Remove AllowHalfop item from server config
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11996 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-03 17:12:25 +00:00
danieldg
6fe52cbb3b
Fixes found by removing User inheritance from StreamSocket
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11975 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-25 15:21:45 +00:00
danieldg
6b2ea83367
Move forward declarations to typedefs.h
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11967 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-24 20:03:53 +00:00
danieldg
38e125bdb8
Change to <type:vhost> and <oper:vhost> because <oper:host> is taken.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11957 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-23 19:07:40 +00:00
danieldg
efc75198de
Make ConfigTag::items private
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11956 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-22 22:29:35 +00:00
danieldg
dcbb0ae938
Move command-line items to CommandLineConf
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11949 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21 23:46:24 +00:00
danieldg
d8f98565a8
Use ConfigTagList as a faster access method for access to configuration
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11948 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21 23:46:13 +00:00
danieldg
984cc96a1f
Move AllowedPrivs and similar oper information from LocalUser to OperInfo
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11947 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21 23:46:05 +00:00
danieldg
a30abe26fc
Change User::oper to an OperInfo reference
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11945 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21 23:45:44 +00:00
danieldg
355b17f151
Update documentation and remove unused classes/functions
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11938 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21 23:44:27 +00:00
danieldg
a59d08fffd
Remove VF_SERVICEPROVIDER, prevent heap allocation of ConfigReader
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11904 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-18 16:01:33 +00:00
peavey
a2cb0fcf36
CoreExport ConfigTag, fixes unresolved symbols when linking on windows.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11894 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17 21:14:05 +00:00