12762 Commits

Author SHA1 Message Date
Attila Molnar
0d4facc30a m_callerid Prioritize after other mods for the OnUserPreMessage hook
Issue #1051
2015-06-03 18:00:04 +02:00
Attila Molnar
6b2438f548 Merge pull request #1054 from SaberUK/master+fix-linking-modules
Fix modules with 2+ files not having their LinkerFlags parsed.
2015-06-03 17:46:07 +02:00
Peter Powell
cf94052d8f Fix modules with 2+ files not having their LinkerFlags parsed. 2015-06-03 14:59:08 +01:00
Attila Molnar
61696290a6 Fix incomplete conversion to the new whois system noticed by @SaberUK 2015-06-02 20:05:00 +02:00
Attila Molnar
ffc8101b5f m_spanningtree Log nick collisions more verbosely and in all cases 2015-05-23 15:10:42 +02:00
Attila Molnar
d549fbb7d3 Remove dead code from UserManager::AddUser() 2015-05-22 18:52:15 +02:00
Attila Molnar
df9bd50866 Fix some oversights 2015-05-22 18:49:20 +02:00
Attila Molnar
f449c6b2f0 Update example configuration to say the new style module names everywhere 2015-05-20 15:20:00 +02:00
Attila Molnar
7bb75e575b Allow modules to be called as "foo" instead of "m_foo.so" 2015-05-20 15:02:24 +02:00
Attila Molnar
4881783773 m_spanningtree Fix harmless valgrind warning about uninit var usage on unload 2015-05-19 23:33:07 +02:00
Attila Molnar
8ceae7ec0f Increase entries in valgrind stack traces to 30 (--num-callers) 2015-05-19 23:31:02 +02:00
Attila Molnar
cd268bb2d5 Merge branch 'master+movenames' 2015-05-19 23:10:21 +02:00
Adam
f3513de58a New m_ldap from Anope
Redesign to be more like m_mysql, polling ldap_result from a thread as
done previously is undefined.
2015-05-18 10:11:08 -04:00
The Aviator
79d6ec656d Fixed a build warning
Just a mismatched type, improperly done cast.
2015-05-17 16:54:32 -04:00
Attila Molnar
33137bba44 Move InspIRCd::SendError() to cmd_die
Fix multiple ERROR messages being sent to unregistered users by removing the "Exiting with status..." message
2015-05-17 18:13:45 +02:00
Attila Molnar
c715182bf8 Move code that quits all users from InspIRCd::Cleanup() to cmd_die 2015-05-17 18:08:49 +02:00
Attila Molnar
b28782c4a3 Fix incorrect iterator use leading to prematurely exiting loops when quitting users while looping the local user list 2015-05-17 18:00:42 +02:00
Attila Molnar
c1757d9126 Merge pull request #1048 from SaberUK/master+ipv6-stats
Encase the IPv6 address in `STATS p` with square brackets.
2015-05-17 17:05:26 +02:00
Peter Powell
a9b2b55b60 Encase the IPv6 address in STATS p with square brackets.
This is a widely used format as without it the port is ambigious.
2015-05-17 12:37:18 +01:00
Attila Molnar
c27122858b cmd_names Do the HasPrivPermission() check only in the NAMES handler 2015-05-16 16:53:21 +02:00
Attila Molnar
930fd98e48 Move Channel::UserList() from core to cmd_names 2015-05-16 16:49:37 +02:00
Attila Molnar
127fe6ed10 Move topic and NAMES sending on join from core into core_channel 2015-05-16 16:40:22 +02:00
Attila Molnar
9fc261d4cd cmd_topic Extract code sending RPL_TOPIC and RPL_TOPICTIME into a function 2015-05-16 16:36:12 +02:00
Attila Molnar
6d51696715 Merge pull request #1024 from SaberUK/master+make-perl-cleanup
Start cleaning up the make/*.pl files.
2015-05-13 16:23:15 +02:00
Peter Powell
01dee272ca Remove run-cc.pl and all associated code.
As far as I can tell this only worked with older versions of GCC
and there is no value in fixing it as diagnostics have improved
since then and it makes errors hard to search for anyway.

This also shaves off an average of five seconds on each build on
my hardware. Neat!
2015-05-13 15:22:44 +01:00
Peter Powell
4b3e466c80 unit-cc: Remove workaround which existed for 2.0.x only. 2015-05-13 15:22:44 +01:00
Peter Powell
953ca72cfe unit-cc: Use the same preamble as other Perl tools. 2015-05-13 15:22:44 +01:00
Peter Powell
70faab99c8 calcdep: Unify coremod and module building code. 2015-05-13 15:22:43 +01:00
Peter Powell
f02e766924 calcdep: Clean up some unused/duplicate variables. 2015-05-13 15:22:43 +01:00
Peter Powell
32b789eec1 calcdep: Use the same preamble as other Perl tools. 2015-05-13 15:22:43 +01:00
Peter Powell
45c048241d calcdep: Remove a workaround for a very old version of BSD Make. 2015-05-13 15:22:43 +01:00
Attila Molnar
06bc8df450 Merge pull request #1041 from SaberUK/master+ipv6-nameserver
Fix IPv6 nameservers not being detected by the resolv.conf parser.
2015-05-13 16:04:52 +02:00
Attila Molnar
cc007f8a3b core_dns Set the TTL of the cache entry to the lowest TTL in a set of ResourceRecords 2015-05-13 00:56:35 +02:00
Attila Molnar
17787004f1 core_dns Only clear the slot of the request if the object in the slot matches what was passed to MyManager::RemoveRequest() 2015-05-13 00:45:19 +02:00
Attila Molnar
c090e54be9 core_dns Add DNS timeout timer in Process() not in DNS::Request constructor 2015-05-13 00:43:00 +02:00
Attila Molnar
d1f028db2b core_dns Make MAX_REQUEST_ID unsigned, move it to core_dns from header 2015-05-13 00:39:54 +02:00
Attila Molnar
0982b2a582 m_spanningtree Use uint64_t for the burst start time to avoid overflows 2015-05-13 00:26:02 +02:00
Attila Molnar
a6433b3796 m_spanningtree Clean up comments 2015-05-13 00:19:12 +02:00
Attila Molnar
00c0409dd4 Remove support for non-unloadable (VF_STATIC) modules
No module we ship uses this flag and new modules should not use it either to make hotfixing possible
2015-05-12 23:42:20 +02:00
Attila Molnar
f757c2d75b cmd_modules Don't show the memory addresses of Module objects to opers 2015-05-12 23:38:53 +02:00
Attila Molnar
10127b6540 Merge pull request #1043 from SaberUK/insp20+fix-caching
[2.0] Fix configure overwriting the cache settings on startup.
2015-05-12 18:08:57 +02:00
Peter Powell
92dceac40c Fix configure overwriting the cache settings on startup. 2015-05-12 12:37:37 +01:00
Attila Molnar
6fe1f4e113 Merge insp20 2015-05-10 19:20:06 +02:00
Attila Molnar
819d9bade2 Release v2.0.20 v2.0.20 2015-05-10 07:24:10 +02:00
Attila Molnar
09d94db2f0 Merge pull request #1039 from SaberUK/insp20+fix-restrictmsg-uline
[2.0] Fix not being able to message ulines when m_restrictmsg is loaded.
2015-05-10 07:22:45 +02:00
Peter Powell
15b0a1853d Fix not being able to message ulines when m_restrictmsg is loaded. 2015-05-10 04:50:35 +01:00
Peter Powell
c0ae500d03 Fix IPv6 nameservers not being detected by the resolv.conf parser.
This fixes #973. Forward port of #974.
2015-05-10 04:36:38 +01:00
Attila Molnar
ba1efa77c3 m_ssl_gnutls Hold users in pre-registration state until the handshake is completed 2015-05-10 00:37:28 +02:00
Attila Molnar
4711113dff Merge branch 'master+whoiscontext' 2015-05-04 13:24:48 +02:00
Attila Molnar
68bb6a6745 core_whois Fix numeric 319 not obeying MaxLine 2015-05-04 12:02:28 +02:00