attilamolnar
ba5c0db795
Change empty string assignments to .clear() or remove them entirely
2012-11-19 18:32:41 +01:00
attilamolnar
2de13e15c2
m_globalload Fix wrong error message being sent when the module given to /gunloadmodule is not found
2012-11-19 18:32:40 +01:00
attilamolnar
5c20fd57ec
Remove usage of deprecated CallCommandHandler() and IsValidModuleCommand()
2012-11-19 18:32:39 +01:00
attilamolnar
81d7a5b538
Remove calls to ListModeBase::OnCleanup (deprecated, empty function)
2012-11-19 18:32:39 +01:00
Peter Powell
357a38d160
Fix m_ssl_gnutls under GCC on recent versions of GnuTLS.
...
Commas at the end of enumerator lists are valid in C99 but are not
valid in C++ before C++11. This causes a build error on GCC when
using -pedantic.
2012-11-19 01:46:25 +01:00
Attila Molnar
a23dc3de45
Merge pull request #365 from StevenVanAcker/unhook-uid
...
unhook --uid from --system in configure script
2012-11-18 14:05:45 -08:00
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
Steven Van Acker
98b4025af9
unhook --uid from --system in configure script
...
Specifying --uid allows the ircd to run as a specific user, while
--system fixes the install directories to be spread all over the system.
Specifying --uid shouldn't imply --system. This fix allows a uid to be set
while not interfering with --prefix
2012-11-15 17:54:41 +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