]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
10 years agom_spanningtree Initialize TreeServer::UserCount for TreeRoot in its constructor
Attila Molnar [Sat, 14 Jun 2014 13:03:48 +0000 (15:03 +0200)]
m_spanningtree Initialize TreeServer::UserCount for TreeRoot in its constructor

10 years agoMake the default ProtocolInterface instance part of class InspIRCd
Attila Molnar [Fri, 13 Jun 2014 13:59:37 +0000 (15:59 +0200)]
Make the default ProtocolInterface instance part of class InspIRCd

The protocol module no longer has to delete it on load and construct it on
unload, only assign a new value to ServerInstance->PI

10 years agom_spanningtree Change allocation of the specialized ProtocolInterface to be physicall...
Attila Molnar [Fri, 13 Jun 2014 13:57:14 +0000 (15:57 +0200)]
m_spanningtree Change allocation of the specialized ProtocolInterface to be physically part of ModuleSpanningTree

10 years agoChange allocation of InspIRCd::Parser to be physically part of the object containing it
Attila Molnar [Fri, 13 Jun 2014 13:45:55 +0000 (15:45 +0200)]
Change allocation of InspIRCd::Parser to be physically part of the object containing it

10 years agoRemove global Commandtable typedef
Attila Molnar [Fri, 13 Jun 2014 13:42:38 +0000 (15:42 +0200)]
Remove global Commandtable typedef

10 years agoMake CommandParser::cmdlist private
Attila Molnar [Fri, 13 Jun 2014 13:41:43 +0000 (15:41 +0200)]
Make CommandParser::cmdlist private

10 years agoAdd CommandParser::GetCommands() and typedef CommandMap and use it instead of directl...
Attila Molnar [Fri, 13 Jun 2014 13:40:03 +0000 (15:40 +0200)]
Add CommandParser::GetCommands() and typedef CommandMap and use it instead of directly accessing cmdlist

10 years agoUse CommandParser::GetHandler() in ServerConfig::ApplyDisabledCommands()
Attila Molnar [Fri, 13 Jun 2014 13:33:10 +0000 (15:33 +0200)]
Use CommandParser::GetHandler() in ServerConfig::ApplyDisabledCommands()

10 years agoChange allocation of InspIRCd::BanCache to be physically part of the object containing it
Attila Molnar [Fri, 13 Jun 2014 13:27:40 +0000 (15:27 +0200)]
Change allocation of InspIRCd::BanCache to be physically part of the object containing it

10 years agoPull in bancache.h from inspircd.h
Attila Molnar [Fri, 13 Jun 2014 13:23:39 +0000 (15:23 +0200)]
Pull in bancache.h from inspircd.h

10 years agoMove the definition of the BanCacheHit constructor into the source file from the...
Attila Molnar [Fri, 13 Jun 2014 13:19:27 +0000 (15:19 +0200)]
Move the definition of the BanCacheHit constructor into the source file from the header

10 years agoMove BanCacheHash typedef into the private part of BanCacheManager
Attila Molnar [Fri, 13 Jun 2014 13:16:12 +0000 (15:16 +0200)]
Move BanCacheHash typedef into the private part of BanCacheManager

10 years agoChange allocation of BanCacheManager::BanHash to be physically part of the object...
Attila Molnar [Fri, 13 Jun 2014 13:14:31 +0000 (15:14 +0200)]
Change allocation of BanCacheManager::BanHash to be physically part of the object containing it

10 years agoChange allocation of InspIRCd::Threads to be physically part of the object containing it
Attila Molnar [Fri, 13 Jun 2014 13:09:20 +0000 (15:09 +0200)]
Change allocation of InspIRCd::Threads to be physically part of the object containing it

10 years agoChange allocation of InspIRCd::stats to be physically part of the object containing it
Attila Molnar [Fri, 13 Jun 2014 13:03:56 +0000 (15:03 +0200)]
Change allocation of InspIRCd::stats to be physically part of the object containing it

While at it, remove "stats" from all field names

10 years agom_spanningtree Explicitly specify the routing for RESYNC as the one inherited from...
Attila Molnar [Thu, 12 Jun 2014 14:20:31 +0000 (16:20 +0200)]
m_spanningtree Explicitly specify the routing for RESYNC as the one inherited from ServerCommand doesn't suit it

Command::GetRouting() defaulted to local only when RESYNC was added, but
ServerCommand overrides it.

10 years agom_spanningtree Strip membership id from KICKs sent to 1202 protocol servers
Attila Molnar [Wed, 11 Jun 2014 13:13:58 +0000 (15:13 +0200)]
m_spanningtree Strip membership id from KICKs sent to 1202 protocol servers

10 years agoSend the membership id when kicking a remote user and drop KICKs with mismatching...
Attila Molnar [Wed, 11 Jun 2014 13:07:27 +0000 (15:07 +0200)]
Send the membership id when kicking a remote user and drop KICKs with mismatching membership ids

This fixes the desync happening when a PART+JOIN crosses a KICK targetting
the same user.

10 years agom_spanningtree Strip membership ids from FJOINs sent to 1202 protocol servers
Attila Molnar [Wed, 11 Jun 2014 12:57:25 +0000 (14:57 +0200)]
m_spanningtree Strip membership ids from FJOINs sent to 1202 protocol servers

10 years agom_spanningtree Send and parse FJOINs with membership ids
Attila Molnar [Wed, 11 Jun 2014 12:46:53 +0000 (14:46 +0200)]
m_spanningtree Send and parse FJOINs with membership ids

10 years agom_spanningtree Add CmdBuilder::push_raw_int()
Attila Molnar [Wed, 11 Jun 2014 12:41:31 +0000 (14:41 +0200)]
m_spanningtree Add CmdBuilder::push_raw_int()

10 years agom_spanningtree Use the FJOIN builder when a channel is created
Attila Molnar [Wed, 11 Jun 2014 12:40:18 +0000 (14:40 +0200)]
m_spanningtree Use the FJOIN builder when a channel is created

10 years agom_spanningtree Add CmdBuilder specialization for FJOIN
Attila Molnar [Wed, 11 Jun 2014 12:37:42 +0000 (14:37 +0200)]
m_spanningtree Add CmdBuilder specialization for FJOIN

10 years agom_spanningtree Send, parse and translate IJOINs with membership ids
Attila Molnar [Wed, 11 Jun 2014 12:30:17 +0000 (14:30 +0200)]
m_spanningtree Send, parse and translate IJOINs with membership ids

10 years agom_spanningtree Assign an id to new Memberships
Attila Molnar [Wed, 11 Jun 2014 12:15:40 +0000 (14:15 +0200)]
m_spanningtree Assign an id to new Memberships

10 years agom_spanningtree Initialize membership ids on load
Attila Molnar [Wed, 11 Jun 2014 12:08:15 +0000 (14:08 +0200)]
m_spanningtree Initialize membership ids on load

10 years agoAdd foundation for membership ids
Attila Molnar [Wed, 11 Jun 2014 12:04:00 +0000 (14:04 +0200)]
Add foundation for membership ids

10 years agoAdd ConvToUInt64()
Attila Molnar [Sun, 1 Jun 2014 11:44:51 +0000 (13:44 +0200)]
Add ConvToUInt64()

10 years agoReturn the newly created Membership object from Channel::ForceJoin()
Attila Molnar [Tue, 10 Jun 2014 15:45:41 +0000 (17:45 +0200)]
Return the newly created Membership object from Channel::ForceJoin()

10 years agoAdd channel TS to server-to-server INVITE to detect and drop unauthorized invites
Attila Molnar [Tue, 10 Jun 2014 15:37:16 +0000 (17:37 +0200)]
Add channel TS to server-to-server INVITE to detect and drop unauthorized invites

The syntax of the server-to-server INVITE command changes from
:<source> INVITE <target> <channel> [<expire>]
to
:<source> INVITE <target> <channel> <chants> [<expire>]

10 years agom_spanningtree Allow callers of InsertCurrentChannelTS() to customize positions
Attila Molnar [Tue, 10 Jun 2014 15:36:19 +0000 (17:36 +0200)]
m_spanningtree Allow callers of InsertCurrentChannelTS() to customize positions

10 years agocmd_kick Assign a value to the kick reason string more reasonably
Attila Molnar [Tue, 10 Jun 2014 15:22:02 +0000 (17:22 +0200)]
cmd_kick Assign a value to the kick reason string more reasonably

10 years agoUse the iterator version of Channel::KickUser() in a few places
Attila Molnar [Tue, 10 Jun 2014 15:19:27 +0000 (17:19 +0200)]
Use the iterator version of Channel::KickUser() in a few places

10 years agoChange Channel::KickUser() to accept an iterator, add overload that accepts a User
Attila Molnar [Tue, 10 Jun 2014 15:12:00 +0000 (17:12 +0200)]
Change Channel::KickUser() to accept an iterator, add overload that accepts a User

Remove srcmemb parameter

10 years agoMove pre-kick checks from core to cmd_kick (core_channel)
Attila Molnar [Tue, 10 Jun 2014 15:04:42 +0000 (17:04 +0200)]
Move pre-kick checks from core to cmd_kick (core_channel)

10 years agoDocument the config options of m_remove
Attila Molnar [Mon, 9 Jun 2014 15:49:57 +0000 (17:49 +0200)]
Document the config options of m_remove

10 years agom_remove Make the protected rank configurable instead of hardcoding it to 50000
Attila Molnar [Mon, 9 Jun 2014 15:47:07 +0000 (17:47 +0200)]
m_remove Make the protected rank configurable instead of hardcoding it to 50000

Change type of ulevel and tlevel to unsigned int

10 years agom_remove Recognize /REMOVE <chan> <nick>
Attila Molnar [Mon, 9 Jun 2014 15:43:50 +0000 (17:43 +0200)]
m_remove Recognize /REMOVE <chan> <nick>

The old syntax is now deprecated

Fixes issue #860 reported by @Shawn-Smith

10 years agom_remove Manually forward all REMOVE messages, turn FPART into REMOVE
Attila Molnar [Mon, 9 Jun 2014 15:40:22 +0000 (17:40 +0200)]
m_remove Manually forward all REMOVE messages, turn FPART into REMOVE

10 years agoUse std::find() in ParseStack::ParseFile()
Attila Molnar [Mon, 9 Jun 2014 15:13:31 +0000 (17:13 +0200)]
Use std::find() in ParseStack::ParseFile()

10 years agoDeduplicate ParseStack::ParseFile() and ParseExec()
Attila Molnar [Mon, 9 Jun 2014 15:10:17 +0000 (17:10 +0200)]
Deduplicate ParseStack::ParseFile() and ParseExec()

10 years agom_ssl_openssl Remove unused MAX_DESCRIPTORS define
Attila Molnar [Sat, 7 Jun 2014 11:48:42 +0000 (13:48 +0200)]
m_ssl_openssl Remove unused MAX_DESCRIPTORS define

10 years agoChange the number reported by SocketEngine::GetMaxFds() to be informal
Attila Molnar [Sat, 7 Jun 2014 11:47:26 +0000 (13:47 +0200)]
Change the number reported by SocketEngine::GetMaxFds() to be informal

Do not exit if we can't determine it

10 years agosocketengine_epoll Pass a dummy value to epoll_create() that does not depend on GetMa...
Attila Molnar [Sat, 7 Jun 2014 11:33:50 +0000 (13:33 +0200)]
socketengine_epoll Pass a dummy value to epoll_create() that does not depend on GetMaxFds()

From man epoll:
Since Linux 2.6.8, the size argument is unused, but must be greater than zero. (The kernel dynamically sizes the required data structures without needing this initial hint.)

10 years agoRelax fd bounds checking
Attila Molnar [Sat, 7 Jun 2014 11:30:14 +0000 (13:30 +0200)]
Relax fd bounds checking

We can cope with fds greater than SocketEngine::GetMaxFds() since 3752b3f59d5216d7dc6221a361efc76b9ad2273d

10 years agoFix harmless loop off-by-ones found by Moonlightning
satmd [Sun, 1 Jun 2014 15:53:31 +0000 (17:53 +0200)]
Fix harmless loop off-by-ones found by Moonlightning

10 years agom_channames Remove temporary vector from ValidateChans()
Attila Molnar [Sat, 7 Jun 2014 11:07:32 +0000 (13:07 +0200)]
m_channames Remove temporary vector from ValidateChans()

10 years agom_channames Call ValidateChans() from cull() on unload
Attila Molnar [Sat, 7 Jun 2014 11:04:09 +0000 (13:04 +0200)]
m_channames Call ValidateChans() from cull() on unload

This ensures that if ValidateChans() removes everyone from a channel the
channel is added to the cull list at the right time, that is, before the
destruction of objects begin.

The core IsChannel() is less strict than us regardless of our
configuration (for now) but nevertheless this is the correct behavior.

10 years agom_spanningtree Forward NICK messages when they cause a collision with the new nick...
Attila Molnar [Fri, 6 Jun 2014 06:48:50 +0000 (08:48 +0200)]
m_spanningtree Forward NICK messages when they cause a collision with the new nick param rewritten to the uuid

Suppressing these messages meant that we relied on an appropriate NICK to
come from the direction the SAVE was sent to; this left all servers behind
us uninformed until the target server of the SAVE reacted with a nick change
to uuid.

This was problematic because someone can legitimately change nick to the
past nick of the SAVEd user on a server that already has the SAVEd user
with the uuid nick and that nick change message can reach servers that
haven't yet seen the nick change to uuid of the SAVEd user.

10 years agom_spanningtree Fix cleanup of connections when unloading a module that provides an...
Attila Molnar [Thu, 5 Jun 2014 23:46:21 +0000 (01:46 +0200)]
m_spanningtree Fix cleanup of connections when unloading a module that provides an IOHook

10 years agom_ident Close the ident socket when the object is culled instead of using hooks
Attila Molnar [Wed, 28 May 2014 12:01:00 +0000 (14:01 +0200)]
m_ident Close the ident socket when the object is culled instead of using hooks

10 years agom_ident Make use of the min parameter of ConfigTag::getInt()
Attila Molnar [Wed, 28 May 2014 11:47:41 +0000 (13:47 +0200)]
m_ident Make use of the min parameter of ConfigTag::getInt()

10 years agoDescribe <ident:nolookupprefix>
Attila Molnar [Wed, 28 May 2014 11:46:01 +0000 (13:46 +0200)]
Describe <ident:nolookupprefix>

10 years agom_ident: Add an option to allow idents of users to still be prefixed with a '~' for...
Robby- [Wed, 13 Nov 2013 20:01:24 +0000 (21:01 +0100)]
m_ident: Add an option to allow idents of users to still be prefixed with a '~' for connect classes which have disabled ident lookups through the <connect:useident> setting.

Fixes #683.

Some changes by @attilamolnar, original PR #684

10 years agom_ssl_gnutls Don't include cap.h
Attila Molnar [Mon, 26 May 2014 10:16:50 +0000 (12:16 +0200)]
m_ssl_gnutls Don't include cap.h

The tls cap is handled by m_starttls

10 years agoSwitch to std::string::compare() from substr() in a couple of places
Attila Molnar [Mon, 26 May 2014 10:07:22 +0000 (12:07 +0200)]
Switch to std::string::compare() from substr() in a couple of places

10 years agoPrefix all definitions in config.h to avoid potential collisions.
Peter Powell [Wed, 21 May 2014 00:26:22 +0000 (01:26 +0100)]
Prefix all definitions in config.h to avoid potential collisions.

10 years agoReplace the configure templating system with something better.
Peter Powell [Mon, 14 Apr 2014 11:42:22 +0000 (12:42 +0100)]
Replace the configure templating system with something better.

A large amount of this code can be removed when buildtool is done
as we will not need to worry about the differences between BSD and
GNU Make.

10 years agoUpdate server.cpp
Dan Parsons [Tue, 20 May 2014 22:48:50 +0000 (15:48 -0700)]
Update server.cpp

Rewrote "invalid credentials" error message to remove confusion regarding "server snomask", which some users interpreted as "I must make sure the snomask on each server is identical" (which makes no sense), when really the intention is basically "look at the logs on the other server".

10 years agoMerge pull request #854 from SaberUK/insp20+deprecated-plist-entry
Attila Molnar [Sun, 18 May 2014 17:08:17 +0000 (19:08 +0200)]
Merge pull request #854 from SaberUK/insp20+deprecated-plist-entry

Replace deprecated entry in launchd config with the modern equivalent.

10 years agoReplace deprecated entry in launchd config with the modern equivalent.
Peter Powell [Sun, 18 May 2014 09:16:27 +0000 (10:16 +0100)]
Replace deprecated entry in launchd config with the modern equivalent.

10 years agom_passforward: Don't forward password if the connect block required a password to...
Googolplexed [Thu, 15 May 2014 11:46:17 +0000 (21:46 +1000)]
m_passforward: Don't forward password if the connect block required a password to connect

10 years agoUpdate core_stats.cpp
WindowsUser [Sun, 11 May 2014 09:45:18 +0000 (02:45 -0700)]
Update core_stats.cpp

Make this consistent with other "Permission Denied" errors.

10 years agoUpdate year in resource file for Windows
Attila Molnar [Sat, 10 May 2014 17:00:52 +0000 (19:00 +0200)]
Update year in resource file for Windows

10 years agom_ldap: time out LDAP queries
Adam [Thu, 8 May 2014 22:00:31 +0000 (18:00 -0400)]
m_ldap: time out LDAP queries

Set LDAP_OPT_NETWORK_TIMEOUT to 0 in m_ldap to prevent the asynchronous
library calls from blocking

Fix memory leak of pending queries when m_ldap is unloaded

10 years agoFix m_permchannels and m_xline_db on Windows
Adam [Thu, 8 May 2014 23:40:13 +0000 (19:40 -0400)]
Fix m_permchannels and m_xline_db on Windows

The call to remove() can fail if the database doesn't already exist. Just
ignore the error, which effectively makes the rename() call below work as
it does on nix

10 years agoDo not export callers
Adam [Thu, 8 May 2014 23:18:02 +0000 (19:18 -0400)]
Do not export callers

Their functions are all inlined and Windows gives unresolved symbol errors

10 years agoRemove needless checks from Invitation::Find()
Attila Molnar [Tue, 6 May 2014 13:17:12 +0000 (15:17 +0200)]
Remove needless checks from Invitation::Find()

10 years agoDocument the Membership and the Invitation class
Attila Molnar [Tue, 6 May 2014 13:13:30 +0000 (15:13 +0200)]
Document the Membership and the Invitation class

10 years agom_cgiirc Call User::InvalidateCache() after changing host and dhost in OnCheckReady()
Attila Molnar [Wed, 30 Apr 2014 22:07:10 +0000 (00:07 +0200)]
m_cgiirc Call User::InvalidateCache() after changing host and dhost in OnCheckReady()

10 years agom_spanningtree Advertise the availability of m_globops in CAPAB CAPABILITIES
Attila Molnar [Tue, 29 Apr 2014 14:10:22 +0000 (16:10 +0200)]
m_spanningtree Advertise the availability of m_globops in CAPAB CAPABILITIES

10 years agom_spanningtree Set the bursting flag in the FJOIN handler based on whether the source...
Attila Molnar [Sat, 26 Apr 2014 14:22:03 +0000 (16:22 +0200)]
m_spanningtree Set the bursting flag in the FJOIN handler based on whether the source of the FJOIN is bursting or not

Previously the flag was true if our route to the source was bursting, which resulted in m_joinflood incorrectly registering netjoins when a remote server was bursting

Fixes issue #839 reported by @joshtek0

10 years agoAdd support for generating DANE TLSA records to genssl.
Peter Powell [Thu, 24 Apr 2014 12:09:11 +0000 (13:09 +0100)]
Add support for generating DANE TLSA records to genssl.

10 years agoRemove redundant IS_LOCAL() checks discovered by static asserts
Attila Molnar [Sat, 26 Apr 2014 11:00:51 +0000 (13:00 +0200)]
Remove redundant IS_LOCAL() checks discovered by static asserts

10 years agoMerge pull request #832 from SaberUK/insp20+fix-ssl-question
Attila Molnar [Sun, 20 Apr 2014 17:58:26 +0000 (19:58 +0200)]
Merge pull request #832 from SaberUK/insp20+fix-ssl-question

Backport questions from master's genssl tool.

10 years agoDocument parameters and return value for the OnNamesListItem() hook
Attila Molnar [Sun, 20 Apr 2014 12:12:59 +0000 (14:12 +0200)]
Document parameters and return value for the OnNamesListItem() hook

10 years agoChange the OnNamesListItem() hook to return ModResult
Attila Molnar [Sun, 20 Apr 2014 12:05:21 +0000 (14:05 +0200)]
Change the OnNamesListItem() hook to return ModResult

Return MOD_RES_DENY to exclude the user from the NAMES list

10 years agoFix undefined symbol error on module load if compiled with Clang 3.4
Attila Molnar [Sat, 19 Apr 2014 15:10:01 +0000 (17:10 +0200)]
Fix undefined symbol error on module load if compiled with Clang 3.4

Fixes issue #803 reported by @SaberUK

10 years agoBackport questions from master's genssl tool.
Peter Powell [Wed, 16 Apr 2014 18:58:01 +0000 (19:58 +0100)]
Backport questions from master's genssl tool.

10 years agom_spanningtree Add ServerCommand::ExtractTS() to convert string to raw TS
Attila Molnar [Wed, 16 Apr 2014 11:20:39 +0000 (13:20 +0200)]
m_spanningtree Add ServerCommand::ExtractTS() to convert string to raw TS

Throws a ProtocolException if the input is invalid

10 years agom_spanningtree Throw an exception on protocol violations instead of returning CMD_INVALID
Attila Molnar [Wed, 16 Apr 2014 11:08:44 +0000 (13:08 +0200)]
m_spanningtree Throw an exception on protocol violations instead of returning CMD_INVALID

Catch CoreExceptions, log and close the link in OnDataReady()

10 years agoRemove WALLCHOPS and WALLVOICES ISUPPORT tokens
Attila Molnar [Mon, 14 Apr 2014 15:57:31 +0000 (17:57 +0200)]
Remove WALLCHOPS and WALLVOICES ISUPPORT tokens

These tokens have been deprecated in favour of STATUSMSG for a long time

10 years agocore_lusers Don't capitalize "local users" and "global users"
Attila Molnar [Mon, 14 Apr 2014 15:56:01 +0000 (17:56 +0200)]
core_lusers Don't capitalize "local users" and "global users"

10 years agom_sajoin, m_sapart Support a comma separated list of channels
Attila Molnar [Mon, 14 Apr 2014 15:14:10 +0000 (17:14 +0200)]
m_sajoin, m_sapart Support a comma separated list of channels

Issue #818

10 years agom_sajoin Abort and report if the target user is already on the channel
Attila Molnar [Mon, 14 Apr 2014 15:10:26 +0000 (17:10 +0200)]
m_sajoin Abort and report if the target user is already on the channel

Fixes issue #820 reported by @UselessOper

10 years agom_spanningtree Fix routing of unicast messages
Attila Molnar [Mon, 14 Apr 2014 15:01:11 +0000 (17:01 +0200)]
m_spanningtree Fix routing of unicast messages

10 years agoCompress the Windows installer with zlib to reduce AV false positives
Attila Molnar [Sun, 13 Apr 2014 14:08:49 +0000 (16:08 +0200)]
Compress the Windows installer with zlib to reduce AV false positives

10 years agoChange Windows libraries to be dynamically linked
Adam [Sun, 13 Apr 2014 01:46:19 +0000 (21:46 -0400)]
Change Windows libraries to be dynamically linked

10 years agom_ssl_openssl Avoid Applink on Windows by calling PEM_read_bio_DHparams() instead...
Attila Molnar [Thu, 10 Apr 2014 23:03:36 +0000 (01:03 +0200)]
m_ssl_openssl Avoid Applink on Windows by calling PEM_read_bio_DHparams() instead of PEM_read_DHparams()

10 years agoAllow uppercase letters in IPv6 CIDR masks
Attila Molnar [Sun, 13 Apr 2014 14:02:07 +0000 (16:02 +0200)]
Allow uppercase letters in IPv6 CIDR masks

10 years agom_auditorium Handle NULL return from Channel::GetUser() in OnSendWhoLine()
Attila Molnar [Sun, 13 Apr 2014 13:46:10 +0000 (15:46 +0200)]
m_auditorium Handle NULL return from Channel::GetUser() in OnSendWhoLine()

Found by Coverity, CID: 1135647

10 years agoIgnore NULL callbacks in ModuleManager::Reload()
Attila Molnar [Sun, 13 Apr 2014 13:43:01 +0000 (15:43 +0200)]
Ignore NULL callbacks in ModuleManager::Reload()

Found by Coverity, CID: 1201453

10 years agom_ojoin Remove pointless FindChan() call
Attila Molnar [Sun, 13 Apr 2014 13:41:35 +0000 (15:41 +0200)]
m_ojoin Remove pointless FindChan() call

Found by Coverity, CID: 1135649

10 years agoChange FormatMessage() usage in DLLManager::RetrieveLastError() to match SocketEngine...
Attila Molnar [Sat, 12 Apr 2014 21:00:01 +0000 (23:00 +0200)]
Change FormatMessage() usage in DLLManager::RetrieveLastError() to match SocketEngine::LastError()

See 4451fd13a1accec8d7c2b1bb7fdafd6e50a2566b

10 years agoFilter out newlines from error messages on Windows
Attila Molnar [Sat, 12 Apr 2014 20:51:10 +0000 (22:51 +0200)]
Filter out newlines from error messages on Windows

10 years agom_watch Be more strict when checking whether the watch list of a user is full
Attila Molnar [Sat, 12 Apr 2014 20:38:34 +0000 (22:38 +0200)]
m_watch Be more strict when checking whether the watch list of a user is full

After a rehash MAX_WATCH can become lower than it was before

10 years agoMerge pull request #827 from Robby-/insp20-helpopconf
Attila Molnar [Sat, 12 Apr 2014 20:35:34 +0000 (22:35 +0200)]
Merge pull request #827 from Robby-/insp20-helpopconf

Some more helpop config updates, and fix a few module syntax messages.

10 years agoSome more helpop config updates.
Robby- [Sat, 12 Apr 2014 20:18:22 +0000 (22:18 +0200)]
Some more helpop config updates.

10 years agoCorrect the syntax messages of a few modules.
Robby- [Sat, 12 Apr 2014 20:08:41 +0000 (22:08 +0200)]
Correct the syntax messages of a few modules.

10 years agoKill <channels> in favour of <connect:maxchans> and <oper:maxchans>.
Peter Powell [Wed, 19 Mar 2014 20:52:56 +0000 (20:52 +0000)]
Kill <channels> in favour of <connect:maxchans> and <oper:maxchans>.

Remove channels/high-join-limit privilege