12973 Commits

Author SHA1 Message Date
Attila Molnar
5c1b647355 core_dns Change type of all log messages to MODNAME 2016-08-25 14:51:42 +02:00
Attila Molnar
dfc00bf4ad Update UserManager documentation and comments 2016-08-24 12:41:02 +02:00
Attila Molnar
4da9f9b5be Default defer to on for SSL listeners
Issue #1112
2016-08-24 12:29:40 +02:00
Attila Molnar
b200104cf2 Check for errors after calling IOHookProvider::OnAccept() 2016-08-24 12:27:51 +02:00
Attila Molnar
fb7acf3bf7 Call IOHookProviders after the socket has been added to the SocketEngine in UserManager::AddUser() 2016-08-24 12:18:27 +02:00
Attila Molnar
0ca92e252e Add socket into the SocketEngine as soon as possible in UserManager::AddUser() 2016-08-24 12:14:38 +02:00
Attila Molnar
567142ef7a m_messageflood Improve kick message
Fixes issue #1019 reported by @B00mX0r

Also add back a missing word caused by an oversight in #531
2016-08-24 12:07:31 +02:00
Attila Molnar
a22f9e6b46 Remove broken mssql module
Issue #1006
2016-08-23 19:51:06 +02:00
Attila Molnar
bcdc3b0bb0 Merge branch 'master+ircstring' 2016-08-23 19:37:03 +02:00
Attila Molnar
0aa6c41340 Update documentation in hashcomp.h 2016-08-22 17:22:19 +02:00
Attila Molnar
333fe87ca7 Remove all non-member irc::string operators 2016-08-22 17:13:18 +02:00
Attila Molnar
7a1ca5baf2 m_censor Pass irc::string as C string to WriteNumeric()
Avoids a call to the templated ConvToStr() which uses std::stringstream for conversion
2016-08-22 17:12:42 +02:00
Attila Molnar
200062cd5e Remove now unused SearchAndReplace() function 2016-08-22 17:11:38 +02:00
Attila Molnar
541af0b0a2 m_censor Switch to stdalgo::string::replace_all() 2016-08-22 17:11:03 +02:00
Attila Molnar
5378b913a6 Add stdalgo::string::replace() and replace_all() 2016-08-22 17:10:41 +02:00
Attila Molnar
78b6ad984b Remove now unused assign() functions 2016-08-22 17:03:59 +02:00
Attila Molnar
dde2739382 m_spanningtree Use ASCII case insensitive map for matching server names 2016-08-22 17:03:14 +02:00
Attila Molnar
fea425704f m_spanningtree Change type of Link::Name to std::string
Switch to stdalgo::string::equalsci()
2016-08-22 17:02:34 +02:00
Attila Molnar
4e0b32e67e m_timedbans Remove TimedBan::channel 2016-08-22 16:57:57 +02:00
Attila Molnar
dfea563128 m_cban Remove now unnecessary field CBan::displaytext 2016-08-22 16:55:07 +02:00
Attila Molnar
40f09daa15 Switch to irc::equals() from irc::string in modules that use it for comparing names of IRC objects 2016-08-22 16:54:25 +02:00
Attila Molnar
ecef36edca Create irc::equals() from StrHashComp
Make StrHashComp a wrapper around it
2016-08-22 16:49:18 +02:00
Attila Molnar
90ea1b01b7 Add stdalgo::string::equalsci and use it instead of irc::string for case-insensitive comparison 2016-08-22 16:46:44 +02:00
Attila Molnar
0562561425 m_services_account Detect nickname case changes by using FindNickOnly()
Gets rid of assign()
2016-08-22 16:39:53 +02:00
Attila Molnar
76710ee4c6 m_timedbans Remove one irc::string usage 2016-08-22 16:39:08 +02:00
Attila Molnar
adc366ab1d Replace irc::string in XLineLookup with irc::insensitive_swo map 2016-08-22 16:37:32 +02:00
Attila Molnar
c808355050 Replace irc::string usage in CommandParser::LoopCall() with irc::insensitive_swo set 2016-08-22 16:35:11 +02:00
Attila Molnar
e1e9341a84 Remove unused irc::tokenstream::GetToken() overload accepting an irc::string 2016-08-22 16:34:00 +02:00
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
2df0de3c92 Merge pull request #1200 from SaberUK/master+travis
Fix Travis builds on master.
2016-08-19 18:01:43 +02:00
Peter Powell
a6daa312e2 Fix m_mysql warning about use of C++11 features on C++03.
NO_CLIENT_LONG_LONG was removed in a recent version of MySQL.
2016-08-19 16:10:00 +01:00
Peter Powell
9f364d4304 Don't try to run inspircd --version after doing a Travis build.
All of the files will have already been removed by test-build.
2016-08-19 16:10:00 +01:00
Peter Powell
047e30a417 Fix poll using int instead of size_t which caused a warning. 2016-08-19 16:10:00 +01:00
Peter Powell
2a419c7525 Fix linker flags being in the wrong place on static builds. 2016-08-19 16:10:00 +01:00
Peter Powell
a7ca68ff72 Fix a build error in the poll socket engine. 2016-08-19 16:10:00 +01:00
Peter Powell
2e90c74987 Fix m_ldap not linking to liblber on UNIX systems. 2016-08-19 16:10:00 +01:00
Attila Molnar
da04e0622c m_spanningtree Put command handlers with class names that collide with core commands into the SpanningTree namespace
This fixes issues in static builds
2016-08-19 11:21:19 +02:00
Attila Molnar
1e09b2cb1e m_monitor Add inline keyword to IRCv3::Monitor::Manager::ExtItem::unserialize to fix static builds 2016-08-19 11:05:01 +02:00
Attila Molnar
0ca1ff6b66 m_ldap Remove unused LDAPService::last_timeout_check 2016-08-19 09:58:58 +02:00
Attila Molnar
b9e11915a9 Merge insp20 2016-08-17 12:49:48 +02:00
Adam
f9fd78c016 core_hostname_lookup: find answer record of the correct type instead of assuming it is first 2016-08-15 19:28:00 -04:00
Attila Molnar
c7a26bc216 Release v2.0.22 v2.0.22 2016-08-13 18:23:19 +02:00
Attila Molnar
a8c7c85ecd m_censor Fix possible incorrect cast of dest 2016-08-13 18:23:12 +02:00
Attila Molnar
e2dd99fa34 Fix more incorrect std::string::operator[] usage 2016-08-13 18:11:57 +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
f09ca8cf45 socketengine_epoll Remove unused #define EP_DELAY 5 2016-08-11 10:56:47 +02:00
Attila Molnar
c528328748 Initialize more User and LocalUser fields using the init list 2016-08-10 17:30:02 +02:00