attilamolnar
c23d09f650
Simplify stringjoiner: take 1 parameter, join from begin() to end() and use space as the sep char
2013-06-12 19:30:15 +02:00
attilamolnar
79f46c80c2
m_banredirect Fix modestack usage
2013-06-12 19:24:30 +02:00
attilamolnar
3556132879
Unite cmd_privmsg and cmd_notice
2013-06-12 19:22:50 +02:00
attilamolnar
abe675bfac
Build with multiple processes on Windows (/MP)
2013-06-11 00:33:31 +02:00
Daniel Vassdal
9a470c5863
Added m_repeat - Allows for blocking of similiar messages
...
Changes to the original module:
- Parse settings using a sepstream, accept remote mode changes regardless of our config
- Refuse to link when config settings differ
- Style changes
All ideas and features are the brainchild and work of Daniel Vassdal
2013-06-10 23:20:31 +02:00
attilamolnar
78900eaa5e
Remove deprecated Request cross-module communication mechanism
2013-06-07 01:00:10 +02:00
attilamolnar
183d7a8dc0
Change the API of m_httpd to be dynamic_reference-based
2013-06-07 01:00:10 +02:00
attilamolnar
ad523652ae
Change the API of m_sslinfo to be dynamic_reference-based
2013-06-07 01:00:10 +02:00
attilamolnar
3d6d9cda32
Create SSLIOHook interface that provides GetCertificate()
2013-06-07 01:00:10 +02:00
attilamolnar
79db1cf848
Create IOHook interface (extracted from Module)
2013-06-07 01:00:10 +02:00
attilamolnar
f2febe8ff6
Move code between usermanager.(cpp|h), clarify comments
...
Initialize clientlist and uuidlist in UserManager constructor
2013-06-06 03:15:50 +02:00
attilamolnar
eeabdde6fb
Move DoBackgroundUserStuff() and AllModulesReportReady() into UserManager
2013-06-06 03:13:55 +02:00
attilamolnar
b57c0342ca
Store prefix rank in a ModeHandler field, change ModeHandler::GetPrefixRank() to be non-virtual
2013-06-06 03:10:10 +02:00
attilamolnar
86c454a676
Fix Windows
2013-06-06 03:09:41 +02:00
Attila Molnar
f00ac52c5d
Merge pull request #544 from SaberUK/master+kill-maxbuf
...
Purge MAXBUF in favour of a configuration option.
2013-06-05 17:52:39 -07:00
Peter Powell
5d0b2b7cfc
Remove hardcoded MAXBUF constant.
2013-06-06 01:45:05 +01:00
Peter Powell
37d97550b1
Convert a ton of uses of MAXBUF to use a fixed buffer size.
2013-06-06 01:45:04 +01:00
Peter Powell
e01df6385e
Convert User::SendText to use std::string.
2013-06-06 01:45:04 +01:00
Peter Powell
ef3799a43a
Convert User::FormatNoticeMasks() to use std::string.
2013-06-06 01:45:04 +01:00
Peter Powell
955ad16ed7
Convert ConvNumeric() to use std::string instead of char[MAXBUF].
2013-06-06 01:45:04 +01:00
Peter Powell
c68baddf6c
Rewrite irc::sockets::sockaddrs::str() completely.
...
- Replace use of MAXBUF with INET_ADDRSTRLEN/INET6_ADDRSTRLEN.
- Replace use of sprintf with InspIRCd::Format.
2013-06-06 01:45:04 +01:00
Peter Powell
c5bc6c1cf5
Replace some C string operations with the + operator.
2013-06-06 01:45:04 +01:00
Peter Powell
6f54bc95a4
Use InspIRCd::Format instead of snprintf().
2013-06-06 01:45:04 +01:00
Peter Powell
bbeb5ea386
Use iostream instead of C-style file operations.
2013-06-06 01:44:57 +01:00
Peter Powell
cc79342f50
Compare to ServerLimits::MaxLine instead of MAXBUF.
2013-06-06 01:06:47 +01:00
Peter Powell
047e291797
Reserve ServerLimits::MaxLine instead of MAXBUF.
2013-06-06 00:41:07 +01:00
Peter Powell
7dfcffd685
Start to replace MAXBUF with <limits:maxline>.
2013-06-06 00:41:06 +01:00
attilamolnar
d9d99cd02d
Merge insp20
2013-06-06 01:07:22 +02:00
attilamolnar
e0ff94b310
Release 2.0.13
v2.0.13
2013-06-05 23:28:45 +02:00
attilamolnar
d87bfc2778
Remove unnecessary string copies and dead code
2013-06-05 23:11:50 +02:00
attilamolnar
f4d8359382
Report the full GnuTLS version in configure
...
Fix incorrect version being reported when the minor version is longer than one digit (2.10.x)
2013-06-05 22:40:09 +02:00
attilamolnar
f07eda62da
m_spanningtree Fix FIDENT routing
...
A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic
2013-06-04 22:16:15 +02:00
attilamolnar
fc198fffe1
Fix inet_pton on Windows with IPv6 addresses
...
Code from Anope win32/socket.cpp by @Adam-
2013-06-04 21:43:29 +02:00
attilamolnar
9b08c60495
m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5d
2013-06-04 21:38:03 +02:00
attilamolnar
8a06d54076
Refactor Channel::UserList() to use std::string
2013-06-04 02:10:16 +02:00
attilamolnar
8e8a4df17e
Remove the now unused Channel::RemoveAllPrefixes() and CountInvisible()
2013-06-04 02:06:50 +02:00
attilamolnar
2ac7d154d9
Reduce User* -> Membership* lookups on part and kick
2013-06-04 02:06:50 +02:00
attilamolnar
6db9244585
Channel::KickUser() and cmd_kick changes
...
- Remove uline checks from KickUser()
- Disallow the kick if done by a local user and the victim is ulined in cmd_kick
- Remove call to RemoveAllPrefixes() as it has no additional effect, the Membership object containing the prefixes is destroyed soon after the call
2013-06-04 01:57:35 +02:00
attilamolnar
3a01b55a11
Remove NULL checks from various Channel functions
...
Passing NULL to these functions are not permitted and must be avoided by the caller
2013-06-04 01:49:14 +02:00
Daniel Vassdal
263c2efd96
Added option for using TCP_DEFER_ACCEPT. Prevents the connection from being handed over to the daemon before data is ready from the client.
2013-06-03 18:45:46 +02:00
attilamolnar
ca4c4a6798
Route WALLOPS like a regular command, remove OnWallops hook
2013-06-02 18:05:01 +02:00
Adam
94c248f9da
Merge pull request #550 from Adam-/master+sepstream
...
Rewrote sepstream and tokenstream to be less ugly
2013-06-01 19:05:51 -07:00
Adam
fdac3263c0
s/seperator/separator/g
2013-06-02 02:45:53 +02:00
Adam
01ac5148e9
Rewrote sepstream and tokenstream to be less ugly
2013-06-02 02:45:53 +02:00
attilamolnar
81fce393e9
ISupportManager: Tidy-up, expand comments
2013-06-02 00:34:15 +02:00
attilamolnar
b01dc3cb86
Move a few trivial functions into headers
2013-06-02 00:28:55 +02:00
attilamolnar
3e704abc5a
m_devoice Remove FindChan() and HasUser() checks, these are done when parsing the mode change
2013-06-02 00:16:01 +02:00
attilamolnar
d16a455400
Watch mode names with ModeWatchers instead of mode letters
2013-06-01 23:41:42 +02:00
attilamolnar
ca838821e7
Remove useless ModeType parameter from ModeWatcher::BeforeMode() and AfterMode()
2013-06-01 23:41:42 +02:00
attilamolnar
40c5b25db4
Remove #define MAXPARAMETERS and "MAXPARA" 005 token
2013-06-01 23:00:55 +02:00