Attila Molnar
|
0612de153f
|
Remove unused irc::hash
|
2016-08-22 16:32:51 +02:00 |
|
Attila Molnar
|
0424d98e0e
|
Remove unused trim() function
|
2016-08-22 16:30:02 +02:00 |
|
Attila Molnar
|
b9e11915a9
|
Merge insp20
|
2016-08-17 12:49:48 +02:00 |
|
Attila Molnar
|
96642de3b2
|
Update description of class EventHandler
Readable() and Writeable() was removed long ago
|
2016-08-11 11:23:38 +02:00 |
|
Attila Molnar
|
c6ebf05e02
|
Replace HandleEvent() references in the SocketEngine documentation with OnEventHandler*()
|
2016-08-11 11:19:28 +02:00 |
|
Attila Molnar
|
85456f0bd3
|
Remove virtual destructor of class Version
No classes inherit from it and it is only used as the return value from Module::GetVersion() which returns it by value
|
2016-08-11 10:58:21 +02:00 |
|
Attila Molnar
|
40e42a47a7
|
Update comments for classes IOHookProvider and IOHook
|
2016-08-08 16:30:04 +02:00 |
|
Attila Molnar
|
8dbd80610a
|
Keep multiple IOHookProvider references in class ListenSocket
This adds the <bind:hook> config option which works together with <bind:ssl>
|
2016-08-08 15:10:43 +02:00 |
|
Attila Molnar
|
4d36019385
|
Include <array> or <tr1/array> globally
|
2016-08-08 15:07:32 +02:00 |
|
Attila Molnar
|
2b3b0ce142
|
Change return type of ListenSocket::ResetIOHookProvider() to void
No code was using the return value
|
2016-08-08 15:06:41 +02:00 |
|
Attila Molnar
|
a7a0f69c6b
|
Add StreamSocket::SendQueue::moveall() for moving data between sendqs
|
2016-08-08 15:04:17 +02:00 |
|
Attila Molnar
|
87602cd040
|
Add support for multiple IOHooks per StreamSocket
|
2016-08-08 15:02:28 +02:00 |
|
Attila Molnar
|
6466e3093a
|
Extract code that reads data into a recvq from StreamSocket::DoRead() into ReadToRecvQ()
|
2016-08-08 14:37:22 +02:00 |
|
Attila Molnar
|
d8ac63cd83
|
Extract code that flushes the sendq from StreamSocket::DoWrite() into FlushSendQ()
|
2016-08-08 14:35:00 +02:00 |
|
Attila Molnar
|
eef55acb1d
|
Add StreamSocket::GetModHook() for obtaining the IOHook belonging to a given module
Use it to simplify logic in all modules using or providing IOHooks
|
2016-08-08 14:31:49 +02:00 |
|
Attila Molnar
|
3a11a742ba
|
Pass sendq to OnStreamSocketWrite
|
2016-08-08 14:28:02 +02:00 |
|
Attila Molnar
|
019914b67d
|
Predeclare IOHookProvider, remove iohook.h include from socket.h
|
2016-08-08 14:24:40 +02:00 |
|
Peter Powell
|
4a12fc9d4b
|
Add a method which calculates the maximum mask length. (#1171)
|
2016-07-22 12:26:11 +02:00 |
|
Peter Powell
|
5785411ac5
|
Fix sending the wrong numeric when an empty new nick is received.
|
2016-06-22 10:27:18 +01:00 |
|
Attila Molnar
|
925afed1b9
|
Don't exit on rehash if the pid file cannot be written
|
2016-06-17 12:04:12 +02:00 |
|
Attila Molnar
|
f91da925b5
|
Export the GetCiphersuite() method from the SSL modules
|
2016-04-28 17:06:16 +02:00 |
|
Attila Molnar
|
b96329dc3b
|
Add SSLIOHook::IsSSL() to determine whether a socket is using SSL or not
Use it in a few places
|
2016-04-28 17:04:33 +02:00 |
|
Attila Molnar
|
2706a993b3
|
Refactor topic setting logic to go through Channel::SetTopic() in all cases
- Pass topic set time and optionally the setter to SetTopic()
- Don't do anything if the topic is changed by a local user to what it is currently
|
2016-04-11 15:53:01 +02:00 |
|
Peter Powell
|
30bd7bb39f
|
Rename PURE_STATIC to INSPIRCD_STATIC.
|
2016-04-04 13:20:21 +01:00 |
|
Attila Molnar
|
932748db6d
|
Remove unused ProtocolInterface::SendTopic()
|
2016-03-30 12:40:12 +02:00 |
|
Attila Molnar
|
804d58e200
|
Remove ProtocolInterface::PushToClient()
|
2016-03-30 12:38:36 +02:00 |
|
Attila Molnar
|
f67aba687b
|
Remove User::SendText() and overrides completely
|
2016-03-30 12:37:29 +02:00 |
|
Attila Molnar
|
5fbb5a0b2c
|
Make User::WriteRemoteNumeric() virtual, implement it in SpanningTree::RemoteUser
|
2016-03-29 16:43:30 +02:00 |
|
Attila Molnar
|
55ad0595a7
|
Remove now unused overload of User::SendText()
|
2016-03-22 18:41:30 +01:00 |
|
Attila Molnar
|
e33e8bcdf8
|
Merge branches 'master+check' and 'master+namedmodes'
|
2016-03-22 18:38:17 +01:00 |
|
Attila Molnar
|
3aa92b8d13
|
Add Numeric::ParamBuilder
It builds numerics where the individual components are parameters of the numeric
|
2016-03-22 16:40:05 +01:00 |
|
Attila Molnar
|
5801272a4a
|
m_check Refactor, move to the new RPL_CHECK numeric
|
2016-03-19 16:32:25 +01:00 |
|
Attila Molnar
|
266eb73475
|
Fix oversights in the WriteNumeric() parameter conversion
|
2016-03-19 16:20:01 +01:00 |
|
Attila Molnar
|
0586ec9baa
|
Add Channel::WriteNotice()
|
2016-03-05 16:41:24 +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
|
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
|
a5c00b1548
|
Return ModResult from the OnSendWhoLine hook
|
2016-02-26 15:40:22 +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
|
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 |
|
Adam
|
f80798f2c1
|
Don't show snotices for kills from ulined clients
|
2016-02-25 08:54:28 -05:00 |
|