12786 Commits

Author SHA1 Message Date
Attila Molnar
33d0a3b53a Merge pull request #1150 from johanna-a/conname_extban
Adds classban module providing extban 'n' for connect class ban.
2016-03-04 15:52:23 +01:00
Johanna A
a54497ee17 Adds classban module providing extban 'n' for connect class ban. 2016-03-04 15:46:19 +01:00
Attila Molnar
78044f849b Merge branch 'master+writeremotenotice' 2016-03-02 15:20:21 +01:00
Attila Molnar
48d19bdd2c m_spanningtree Remove ModuleSpanningTree::RemoteMessage()
This method is no longer used, replacement is User::WriteRemoteNotice()
2016-03-01 16:18:05 +01:00
Attila Molnar
d6eb4a1fc5 Send NOTICEs that can go to both local and remote users with User::WriteRemoteNotice() 2016-03-01 16:17:14 +01:00
Attila Molnar
49e2df0307 Add User::WriteRemoteNotice()
Sends a NOTICE from the local server to the user which can be local or remote
2016-03-01 16:15:59 +01:00
Attila Molnar
4f1005acd1 Merge branch 'master+writenumeric-who' 2016-02-26 16:31:05 +01:00
Attila Molnar
1fd6f04e6d Add RPL_WHOREPLY to the list of numerics
Use it instead of the raw number
2016-02-26 16:03:00 +01:00
Attila Molnar
725c954efb Send WHO reply numerics with User::WriteNumeric(), pass Numeric::Numeric objects to the OnSendWhoLine hook 2016-02-26 15:59:20 +01:00
Attila Molnar
2a16373ca1 m_hideoper Reorder checks in OnSendWhoLine()
Check if the entire line should be hidden first
2016-02-26 15:44:39 +01:00
Attila Molnar
a5c00b1548 Return ModResult from the OnSendWhoLine hook 2016-02-26 15:40:22 +01:00
Attila Molnar
42b7f65a06 Remove unnecessary std::string::c_str() calls 2016-02-25 19:23:46 +01:00
Attila Molnar
1b8f7ef94a Fix oversight in the last Stats::Context:AddRow() method 2016-02-25 19:19:04 +01:00
Attila Molnar
9cb415d6bd Add RPL_ISON, RPL_USERIP and RPL_USERHOST to the list of numerics
Use them instead of the raw numbers
2016-02-25 18:21:07 +01:00
Attila Molnar
20e2743926 m_clones Send numeric with User::WriteNumeric() 2016-02-25 18:18:22 +01:00
Attila Molnar
79cb679749 m_userip Send numeric with User::WriteNumeric() 2016-02-25 18:17:02 +01:00
Attila Molnar
c60b56b9d6 core_userhost Send numeric with User::WriteNumeric() 2016-02-25 18:15:18 +01:00
Attila Molnar
34cb5b67fb cmd_commands Send the RPL_COMMANDS numeric with User::WriteNumeric() 2016-02-25 18:13:09 +01:00
Attila Molnar
761e6d75ba Merge branch 'master+writenumeric' 2016-02-25 18:05:04 +01:00
Attila Molnar
304b6dbbf5 Introduce Stats::Context, pass it to the OnStats hook and switch all code to it 2016-02-25 17:02:03 +01:00
Attila Molnar
dbe5a1fc6f Add User::WriteRemoteNumeric() and switch code using SendText() to send numerics to it 2016-02-25 16:40:50 +01:00
Attila Molnar
ee7567584e Make source server settable in Numeric::Numeric 2016-02-25 16:28:58 +01:00
Attila Molnar
0c42bcde16 Convert WhoisContext::SendLine() calls to pass the parameters of the numeric as method parameters 2016-02-25 16:27:30 +01:00
Attila Molnar
da29af8cba Convert WriteNumeric() calls to pass the parameters of the numeric as method parameters 2016-02-25 16:12:09 +01:00
Attila Molnar
28dcc1f9e0 Add Numeric::Numeric 2016-02-25 15:25:02 +01:00
Attila Molnar
810ddfb91a Add no-op ConvToStr(const std::string&) 2016-02-25 15:18:39 +01:00
Attila Molnar
8f5a3bb7bc Move implementation of ConvTo*() and related functions into convto.h 2016-02-25 15:15:00 +01:00
Attila Molnar
fc8ad300cd Include stdint.h from inspircd.h 2016-02-25 15:02:01 +01:00
Attila Molnar
b928bbfd19 m_dccallow Call WriteNumeric() in a loop when displaying help 2016-02-24 12:44:19 +01:00
Attila Molnar
55e5e41fb9 Fix some numerics 2016-02-24 12:40:05 +01:00
Attila Molnar
0b63ccd0b5 Merge insp20 2016-02-22 12:52:18 +01:00
Attila Molnar
7b6bd133ca Merge pull request #1139 from johanna-a/master
Adds <commandlist> tag with command usage to httpd_stats.
2016-02-22 12:32:51 +01:00
Johanna A
5d177cba9d Adds <commandlist> tag with command usage to httpd_stats. 2016-02-20 19:31:49 +01:00
Attila Molnar
0cfe4a848b Merge pull request #1142 from SaberUK/master+fixes
Fix various build problems on CentOS, OpenBSD, and Solaris.
2016-02-20 16:29:55 +01:00
Peter Powell
7e767774b4 Fix GCC 6 warning about auto_ptr via a different method.
The previous method was causing build errors on CentOS and Solaris.
2016-02-20 14:38:06 +00:00
Peter Powell
51464e095c Fix build errors on CentOS 6 and OpenBSD. 2016-02-20 14:34:32 +00:00
Peter Powell
c361469898 Fix not having a CPU count when the lookup command is missing. 2016-02-20 14:26:02 +00:00
Attila Molnar
14b220b8d3 Merge pull request #1127 from SaberUK/master+testnet
Remove the useless testnet module.
2016-02-20 14:47:22 +01:00
Peter Powell
c7b27cf49d Remove the useless testnet module. 2016-02-20 13:46:06 +00:00
Attila Molnar
860b5f5920 Merge pull request #1135 from SaberUK/master+starttls
Remove the STARTTLS token from ISUPPORT.
2016-02-19 21:03:57 +01:00
Attila Molnar
2e4b6efa9d Merge pull request #1133 from SaberUK/master+tempfix
Fix the temporary fix for finding SSL libraries.
2016-02-19 21:03:42 +01:00
Attila Molnar
a876f2c58e Merge pull request #1130 from SaberUK/master+capnew
Fix cap-notify sending ADD instead of NEW.
2016-02-19 21:03:21 +01:00
Attila Molnar
c3325cac93 Merge pull request #1126 from SaberUK/master+gcc6
Fix warnings when building under GCC 6.
2016-02-19 21:02:57 +01:00
Peter Powell
384056dd0e Remove the STARTTLS token from ISUPPORT.
This is an InspIRCd-specific token which is pointless because:

1. You can't STARTTLS after registration is complete.
2. You can already discover STARTTLS support via cap `tls`.
2016-02-19 20:01:42 +00:00
Peter Powell
8f9ae4c55e Fix the temporary fix for finding SSL libraries. 2016-02-19 20:01:13 +00:00
Peter Powell
017a3c2790 Fix cap-notify sending ADD instead of NEW. 2016-02-19 20:00:48 +00:00
Peter Powell
0b918bbac1 Fix warnings when building under GCC 6. 2016-02-19 20:00:26 +00:00
Attila Molnar
1624ab03b8 Release v2.0.21 v2.0.21 2016-02-13 19:46:59 +01:00
Attila Molnar
09186df9f8 m_namedmodes Only show chan key to members and opers with channels/auspex 2016-02-13 19:35:17 +01:00
Attila Molnar
c6c61719b5 m_callerid Free old extension data before unserializing the new data 2016-02-13 19:30:05 +01:00