10960 Commits

Author SHA1 Message Date
Attila Molnar
562380da4d Merge pull request #366 from StevenVanAcker/autoconnect-reminder
added warning that autoconnect is now a separate tag
2012-11-18 13:59:21 -08:00
Steven Van Acker
8eb4534fa9 added warning that autoconnect is now a separate tag 2012-11-15 19:46:24 +01:00
attilamolnar
a4db7bf9af Remove usage of the deprecated ConfigReader 2012-11-12 21:48:42 +01:00
attilamolnar
62149fcd86 m_operprefix Enhance compatibility with m_hideoper using a ModeWatcher
Prioritize after m_opermodes, so we know when it sets +H on somebody
2012-11-12 21:48:42 +01:00
attilamolnar
1ca354be81 m_operprefix Switch to OnUserPreJoin hook to give +y to joining opers, switch to OnPostOper for giving +y initially 2012-11-12 21:33:44 +01:00
attilamolnar
fda5e8d055 m_operprefix Remove unused hooks, move module initialization to init() 2012-11-12 21:33:44 +01:00
attilamolnar
4a57d129fb m_spanningtree SVSNICK needs 3 parameters 2012-11-09 17:23:10 +01:00
attilamolnar
2cbbc1ce84 m_spanningtree Refuse bogus NICK messages
If the new nick looks like an uid verify that its the correct uid
2012-11-09 17:23:10 +01:00
Adam
755ff533e5 Make the select() socketengine suck significantly less 2012-11-09 16:41:21 +01:00
attilamolnar
cbd66ce407 m_ssl_gnutls, m_ssl_openssl Set error message for the socket to "Connection closed" whenever the ssl connection is closed 2012-11-09 16:41:21 +01:00
attilamolnar
80cb9f38fb m_ssl_openssl Remove unused variables 2012-11-09 16:41:21 +01:00
Attila Molnar
1e7a9fcd20 Merge pull request #357 from StevenVanAcker/insp20
unbreak m_hostchange.so
2012-11-09 07:38:37 -08:00
Steven Van Acker
50ea0efc0d wrong order of arguments to Host() 2012-11-09 15:36:38 +01:00
Steven Van Acker
6cb22b68b9 use documented "value" attribute instead of undocumented "newhost" 2012-11-09 15:36:08 +01:00
Peter Powell
6e8584b0f6 Fix m_ssl_gnutls when using non-standard include/lib paths.
This fixes #315.
2012-11-08 01:13:50 +01:00
Peter Powell
999ba802d6 Fix ModuleManager failing when:
- LWP::Simple is not installed.
- Crypt::SSLeay or IO::Socket::SSL are not installed.

This fixes #154.
2012-11-08 01:07:38 +01:00
Peter Powell
e74da8e6e9 Temporary fix for HASHMAP_DEPRECATED on clang. 2012-11-07 16:19:56 +01:00
Peter Powell
9ffdda87bd Fix typo in m_filter. 2012-11-07 15:55:58 +01:00
newuser1
fbb2afa552 Fix incorrect substr usage 2012-11-06 15:39:25 +01:00
Adam
c7a5cc0a98 Don't send quitting users in RPL_NAMREPLY, fixes desyncing clients who join a channel after a user has quit but before they are culled 2012-10-31 13:14:13 -04:00
attilamolnar
504caa8ca9 Fix typo in doc and remove some whitespace 2012-10-29 18:33:07 +01:00
attilamolnar
3366ace0a3 m_opermotd Add support for replacing \u \b etc. with color codes
Fixes #322 reported by @MistrX
2012-10-29 18:28:44 +01:00
attilamolnar
954786c678 Move ServerConfig::ProcessColors() into class InspIRCd, as a helper function
Change signature to accept a file_cache reference so modules can use it easily
2012-10-29 18:27:17 +01:00
attilamolnar
59cafb70e6 m_operlog Add tosnomask config option, to log all oper actions to snomask 'r'
If enabled, the commands can be logged to channels with m_chanlog and also other +s +r opers can see them
Fixes #325 reported by @SeLEct-
2012-10-28 15:23:38 +01:00
attilamolnar
1357ed09cc Fix warnings in configreader.cpp on FreeBSD
Fixes #348 reported by @netkurd
2012-10-28 14:58:32 +01:00
Adam
df2ee078aa Issue #346 - fix m_permchannels.cpp and m_xline_db.cpp saving their databases on Windows due to rename() failing if the destination file exists 2012-10-27 09:09:33 -04:00
Peter Powell
3f4349f54a Fix configure system loading cache file too late. 2012-10-26 15:23:58 +02:00
attilamolnar
9fe15c5988 m_ojoin Fix giving +Y only instead of +Yo when <ojoin:op> is on and the user is already in the channel 2012-10-24 17:19:16 +02:00
attilamolnar
c244b6686c m_ircv3 Attach to OnRehash 2012-10-23 22:13:38 +02:00
attilamolnar
d9d0d1b6a9 m_ircv3 Fix away-notify not sending AWAY messages when somebody joins who is away 2012-10-23 22:13:38 +02:00
attilamolnar
91bf556dbd m_nicklock Fix typo 2012-10-23 16:16:34 +02:00
attilamolnar
77266a4a5d m_topiclock Prefix ModDesc with $ 2012-10-23 16:12:32 +02:00
attilamolnar
16fad76feb m_nickflood Fix a case when channels were locked regardless of elapsed time since the last nick change
Fixes #330 reported by @Shawn-Smith
2012-10-21 18:06:24 +02:00
attilamolnar
2d7d62dfd2 m_nickflood Make code more readable, unset +F when the module is unloaded
See 21c3232b8e0bb41727f2d65a0b2d5304587cf6be and fae560cddc389b88c9cd34afdccf9035f4d11c5b
2012-10-21 18:04:48 +02:00
attilamolnar
bf320518c6 Fix /RESTART not closing file descriptors
Fixes issue #262 reported by @MistrX
2012-10-21 16:47:53 +02:00
attilamolnar
569a742b94 Make better use of User::GetFullRealHost() 2012-10-21 15:10:44 +02:00
attilamolnar
ab9de30e77 Fix KILL accepting SIDs, get rid of potentially unsafe snprintf and strlcpy 2012-10-21 15:05:33 +02:00
Adrien Bustany
9451b734ff m_ldapauth Allow filtering on arbitrary LDAP attributes
This commit implements filtering on LDAP attributes, in a similar way
to what Apache Httpd does with "Require ldap-attribute".
2012-10-19 20:40:16 +02:00
attilamolnar
a4ea01a767 m_filter More cleanup and optimizations
Fix a typo
2012-10-19 20:05:51 +02:00
attilamolnar
330bbfe0a7 m_filter Don't move the filter to the beginning of the vector when a match occurs 2012-10-19 19:22:03 +02:00
attilamolnar
96917a414a m_filter Remove redundant flags field from FilterResult
Change FillFlags() to return the character it did not understand, 0 if all ok
2012-10-19 19:12:30 +02:00
attilamolnar
0694d647be m_filter Change exemptfromfilter to be a set 2012-10-19 18:43:45 +02:00
attilamolnar
52ee43ca1d m_filter Use an enum for filter actions instead of a string 2012-10-19 18:36:22 +02:00
attilamolnar
b5ce066cc2 m_filter Cleanup, remove empty and useless functions 2012-10-19 18:11:40 +02:00
Peter Powell
3479532178 Fix for #268.
- Move color stripping code to helperfuncs.
- Strip color codes before matching filters.
2012-10-19 17:50:08 +02:00
attilamolnar
aa1f468858 m_ident Allow the usage of an overriden IsIdent() instead of using a hardcoded version of it
Fix long idents being accepted regardless of Limits.IdentMax
2012-10-18 15:53:37 +02:00
Attila Molnar
12c0e5d763 Merge pull request #340 from ChrisTX/insp20+clangwarningsfix
Resolve two warnings clang complains about
2012-10-14 15:04:43 -07:00
ChrisTX
90aa5811d1 Resolve two warnings clang complains about
No newline at end of file in consolecolors.h
String plus int in snomasks
2012-10-14 23:58:20 +02:00
Attila Molnar
78a6d62732 Merge pull request #274 from ChrisTX/insp20+gnutlsdeprecation
m_ssl_gnutls: Resolve deprecation warnings properly
2012-10-14 13:39:54 -07:00
Attila Molnar
336e30f61f Merge pull request #338 from ChrisTX/insp20+iostream
Replace printf(_c) with iostream
2012-10-14 12:40:52 -07:00