Peter Powell
f2db4b743f
Make the maximum hostname length configurable in the config.
2014-03-08 13:01:09 +01:00
Peter Powell
9ccb36800a
Fix m_permchannels not prepending the path when reading the config.
2014-03-07 18:28:01 +01:00
Attila Molnar
b15cffc167
Move admin settings into core_info
2014-03-07 18:09:21 +01:00
Attila Molnar
7f4a2cc351
Move {prefix|suffix|fixed}{quit|part} into core_user
2014-03-07 18:03:01 +01:00
Attila Molnar
07f817fd47
Read the die and restart password and their hash type on demand
2014-03-07 17:41:20 +01:00
Attila Molnar
9b5a2903fa
Update detection in module loading commands that relied on old command module names
2014-03-06 12:24:36 +01:00
Attila Molnar
1abb1488b7
Move UNLOADMODULE handler into core_loadmodule
2014-03-06 12:20:19 +01:00
Attila Molnar
3017b5a1a6
Create the core_stub module
...
This handles CONNECT, LINKS, SERVER and SQUIT
2014-03-06 12:12:07 +01:00
Attila Molnar
b935da1b4c
Load core_*.so instead of cmd_*.so
2014-03-05 16:30:00 +01:00
Attila Molnar
050c2cf253
Integrate coremods into the build system
2014-03-05 16:28:29 +01:00
Attila Molnar
8de3635fab
Create the core_xline module
2014-03-05 16:20:41 +01:00
Attila Molnar
55b7fabbc3
Create the core_user module
2014-03-05 16:17:33 +01:00
Attila Molnar
ecd3eb2796
Create the core_oper module
2014-03-05 16:15:20 +01:00
Attila Molnar
bb51cfe506
Create the core_info module
2014-03-05 16:10:50 +01:00
Attila Molnar
34f1ef3c9b
Create the core_channel module
2014-03-05 16:04:06 +01:00
Attila Molnar
c67d3103e9
Move src/commands/cmd_*.cpp to src/coremods[/core_*]/
2014-03-05 15:41:06 +01:00
Attila Molnar
5613d70178
Remove out of date doc and fix typo in commands/cmd_*.cpp
2014-03-04 13:30:56 +01:00
Attila Molnar
a8b146419b
m_spanningtree Remove remains of the KeepNickTS workaround
2014-03-03 15:10:41 +01:00
Attila Molnar
b1173ca66a
Update nick timestamps in User::ChangeNick(), pass the new TS in a parameter
2014-03-03 15:07:17 +01:00
Attila Molnar
a5ca8b892c
Remove REG_ALL checks from User::SharesChannelWith()
...
These checks are never true currently and even if one or both users are unregistered proceeding is harmless
2014-02-27 17:16:48 +01:00
Attila Molnar
5a3ac07e14
cmd_topic Remove redundant NULL check
2014-02-27 17:10:41 +01:00
Googolplexed
dcd07e3892
Give m_connectban a configurable ban message
2014-02-27 16:17:46 +01:00
Daniel Vassdal
8af4a2795b
Simplify /SAJOIN syntax and add permission for joining other users.
2014-02-26 14:00:01 +01:00
Attila Molnar
0ada3aeb10
m_chanfilter Remove needless mode parameter is empty check
2014-02-26 13:37:10 +01:00
Attila Molnar
8776d4fffd
m_cycle Remove redundant IS_LOCAL() check
2014-02-26 13:30:31 +01:00
Attila Molnar
1a3c9fea07
cmd_kill Remove now needless check that prevented KILLing the same user twice
2014-02-25 16:52:30 +01:00
Attila Molnar
9139862182
cmd_kill Hide server notices if the source is ulined
...
Issue #742
2014-02-25 16:51:09 +01:00
Attila Molnar
4e0fd52057
m_svshold Hide server notices by default
...
Issue #742
2014-02-25 16:48:38 +01:00
Attila Molnar
5a64433015
Throw an exception if ModeParser::AddMode() fails
2014-02-23 12:24:14 +01:00
Googolplexed
3c9e626d3f
Moving CGIIRC to a new snomask (w)
2014-02-23 12:10:17 +01:00
Attila Molnar
7affd6453d
Add ModeParser::GetModes(), returns all user/chanmodes
2014-02-22 14:00:04 +01:00
Attila Molnar
7ffef79f97
Index Channel::modes and User::modes with the id of the mode instead of its letter
2014-02-21 15:11:24 +01:00
Attila Molnar
1b6dda7ad5
Assign an id to user modes, parameter chanmodes and simple chanmodes
2014-02-21 14:42:16 +01:00
Attila Molnar
9e123ad121
Replace mode letter parameter of OnRawMode() with a ModeHandler*, remove pcnt
2014-02-21 14:18:49 +01:00
Attila Molnar
5303501b93
Add a ModeParser::FindMode() overload that takes a mode name and a mode type
2014-02-20 13:34:27 +01:00
Attila Molnar
f66d05dbda
Create a name -> ModeHandler* map
2014-02-20 13:20:21 +01:00
Attila Molnar
7bcb703bca
Replace ModeMasks with a two-dimensional array
2014-02-18 13:47:10 +01:00
Attila Molnar
8f901b33a8
Change the parameter type of ModeHandler::GiveModeList() from ModeMasks to ModeType
2014-02-18 13:41:01 +01:00
Attila Molnar
0556720b55
Add ParamModeBase and ParamMode, change all parameter modes to inherit from ParamMode
...
- Type of the extension used to store data is a template parameter
- The extension is automatically unset when the mode is unset
- Handlers inheriting from ParamMode have to provide OnSet() and SerializeParam(); may optionally provide OnUnset()
- Transparently handle the case when OnSet() modifies the mode parameter
- Remove Channel::custom_mode_params map; ask the mode handlers to serialize their parameters instead
2014-02-15 14:38:24 +01:00
Attila Molnar
88baaf9e68
Add ModeHandler::IsParameterMode() and MC_PARAM
2014-02-15 13:51:35 +01:00
Attila Molnar
8bdc2313a6
Move GetAllPrefixChars() from Channel to Membership
2014-02-14 12:16:31 +01:00
Attila Molnar
74ccc28da3
Move GetPrefixChar() from Channel to Membership
2014-02-14 12:15:00 +01:00
Attila Molnar
51b5f06c48
Return a Membership* from get_first_visible_channel() in cmd_who and pass that to modules
2014-02-14 12:00:06 +01:00
Peter Powell
3111038011
Remove support for advertising the SSL ports in RPL_ISUPPORT.
...
- No other IRC servers implement this.
- No IRC clients I can find support this.
2014-02-13 18:10:40 +01:00
Adam
e91c34ae36
Remove redundant null pointer check from m_ldapauth
2014-02-13 11:07:23 +01:00
Adam
a4f222ee1b
Wait for the manager bind to come back before sending search in LDAP modules
2014-02-13 11:07:10 +01:00
Attila Molnar
c77cc4f737
m_operjoin Remove duplicated code
2014-02-11 14:08:11 +01:00
Attila Molnar
87ce845b68
m_sqlauth Allow the client certificate fingerprint to be used in the SQL query
...
Idea by @m4z
2014-02-11 14:00:05 +01:00
Attila Molnar
6fb7507c58
Replace DummyExtItem with a flag in Extensible
2014-02-10 13:56:14 +01:00
Attila Molnar
034488fc4a
Store the EventHandler* in the kevent/epoll_event/portev struct
...
This removes the need to call GetRef() for every socket in DispatchEvents()
2014-02-09 17:31:57 +01:00