]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
10 years agoReplace SocketEngine::GetName() with INSPIRCD_SOCKETENGINE_NAME define
Attila Molnar [Sat, 8 Feb 2014 12:16:31 +0000 (13:16 +0100)]
Replace SocketEngine::GetName() with INSPIRCD_SOCKETENGINE_NAME define

10 years agoChange SocketEngine functions that do not require an instance to be static
Attila Molnar [Sat, 8 Feb 2014 12:10:09 +0000 (13:10 +0100)]
Change SocketEngine functions that do not require an instance to be static

10 years agoOnly compile the testsuite if INSPIRCD_ENABLE_TESTSUITE is defined
Attila Molnar [Fri, 7 Feb 2014 17:21:01 +0000 (18:21 +0100)]
Only compile the testsuite if INSPIRCD_ENABLE_TESTSUITE is defined

10 years agom_ldapauth.cpp: Allow multiple patterns for users to bypass LDAP auth
Thiago Crepaldi [Wed, 5 Feb 2014 20:41:30 +0000 (18:41 -0200)]
m_ldapauth.cpp: Allow multiple patterns for users to bypass LDAP auth

10 years agoConvert irc::stringjoiner to be a method instead of a class.
Peter Powell [Wed, 5 Feb 2014 16:44:22 +0000 (16:44 +0000)]
Convert irc::stringjoiner to be a method instead of a class.

Add separator parameter

10 years agoFix various cases of UUID exposure.
Peter Powell [Wed, 5 Feb 2014 13:49:16 +0000 (13:49 +0000)]
Fix various cases of UUID exposure.

- Introduce WriteCommand which sends * when the user has not registered.
- Switch a ton of code to use WriteCommand instead of WriteServ.
- Convert WriteNotice to be a wrapper around WriteCommand.
- Only send * when NICK has not been sent instead of before registration.

10 years agom_cap Instead of using case insensitive compare convert the subcommand to uppercase
Attila Molnar [Thu, 6 Feb 2014 22:00:18 +0000 (23:00 +0100)]
m_cap Instead of using case insensitive compare convert the subcommand to uppercase

This way if we send back the subcommand it will be in uppercase even if the client sent it in lowercase

10 years agoMerge pull request #766 from SaberUK/master+rebuild-fix
Attila Molnar [Thu, 6 Feb 2014 21:57:21 +0000 (22:57 +0100)]
Merge pull request #766 from SaberUK/master+rebuild-fix

Don't force a rebuild after doing a Git commit.

10 years agoDon't force a rebuild after doing a Git commit.
Peter Powell [Thu, 6 Feb 2014 18:13:12 +0000 (18:13 +0000)]
Don't force a rebuild after doing a Git commit.

Thanks to w00t for pointing out the cause of this.

10 years agosocketengine_kqueue Remove dead code
Attila Molnar [Wed, 5 Feb 2014 17:05:07 +0000 (18:05 +0100)]
socketengine_kqueue Remove dead code

10 years agosocketengine_epoll Remove needless initialization of epoll_event when removing an fd
Attila Molnar [Wed, 5 Feb 2014 17:03:10 +0000 (18:03 +0100)]
socketengine_epoll Remove needless initialization of epoll_event when removing an fd

10 years agoFix oversight in 3752b3f59d5216d7dc6221a361efc76b9ad2273d
Attila Molnar [Wed, 5 Feb 2014 16:51:03 +0000 (17:51 +0100)]
Fix oversight in 3752b3f59d5216d7dc6221a361efc76b9ad2273d

10 years agoCoding style changes in socketengines
Adam [Tue, 4 Feb 2014 21:44:20 +0000 (22:44 +0100)]
Coding style changes in socketengines

10 years agoNew socketengine stuff:
Adam [Fri, 24 Jan 2014 00:17:22 +0000 (19:17 -0500)]
New socketengine stuff:

Use vectors that grow as necessary instead of mass allocating everything at once
Rework poll engine logic to make sense

10 years agoChange type of SocketEngine::CurrentSetSize to size_t from int
Attila Molnar [Tue, 4 Feb 2014 20:10:45 +0000 (21:10 +0100)]
Change type of SocketEngine::CurrentSetSize to size_t from int

10 years agoFix ping timeout message seconds vs second
Adam [Tue, 4 Feb 2014 11:37:21 +0000 (06:37 -0500)]
Fix ping timeout message seconds vs second

10 years agoRemove a few unnecessary .c_str() calls
Attila Molnar [Fri, 31 Jan 2014 13:35:13 +0000 (14:35 +0100)]
Remove a few unnecessary .c_str() calls

10 years agoRemove some dead code
Attila Molnar [Fri, 31 Jan 2014 13:27:32 +0000 (14:27 +0100)]
Remove some dead code

10 years agoDocument new delayed join feature of m_conn_join
Attila Molnar [Thu, 30 Jan 2014 21:18:40 +0000 (22:18 +0100)]
Document new delayed join feature of m_conn_join

10 years agom_conn_join Read default settings in ReadConfig()
Attila Molnar [Thu, 30 Jan 2014 21:14:33 +0000 (22:14 +0100)]
m_conn_join Read default settings in ReadConfig()

10 years agom_conn_join: Allow time-delayed joins
Daniel Vassdal [Thu, 30 Jan 2014 14:32:03 +0000 (06:32 -0800)]
m_conn_join: Allow time-delayed joins

10 years agom_conn_join: Fixed indentation
Daniel Vassdal [Thu, 30 Jan 2014 14:25:02 +0000 (06:25 -0800)]
m_conn_join: Fixed indentation

10 years agoAllow Timers to delete themselves in Tick()
Attila Molnar [Thu, 30 Jan 2014 20:44:51 +0000 (21:44 +0100)]
Allow Timers to delete themselves in Tick()

10 years agom_spanningtree Rewrite /map
Adam [Mon, 20 Jan 2014 09:55:53 +0000 (04:55 -0500)]
m_spanningtree Rewrite /map

10 years agom_tline Minor improvements
Attila Molnar [Mon, 27 Jan 2014 16:01:05 +0000 (17:01 +0100)]
m_tline Minor improvements

- Replace floats with integers
- Use size() instead of counting elements
- Use WriteNotice()

10 years agom_alias Remove duplicate checks
Attila Molnar [Mon, 27 Jan 2014 15:37:40 +0000 (16:37 +0100)]
m_alias Remove duplicate checks

10 years agom_alias Use equal_range() when searching for aliases
Attila Molnar [Mon, 27 Jan 2014 15:33:27 +0000 (16:33 +0100)]
m_alias Use equal_range() when searching for aliases

10 years agoAdd m_clearchan which removes users from a channel without sending n*(n+1)/2 QUIT...
Attila Molnar [Sun, 26 Jan 2014 12:39:10 +0000 (13:39 +0100)]
Add m_clearchan which removes users from a channel without sending n*(n+1)/2 QUIT messages

10 years agoAdd ProtocolInterface::BroadcastEncap() and infrastructure for manually forwarding...
Attila Molnar [Sun, 26 Jan 2014 12:12:01 +0000 (13:12 +0100)]
Add ProtocolInterface::BroadcastEncap() and infrastructure for manually forwarding ENCAPs

10 years agoProtocolInterface::SendEncapsulatedData() changes
Attila Molnar [Sun, 26 Jan 2014 12:05:09 +0000 (13:05 +0100)]
ProtocolInterface::SendEncapsulatedData() changes

- Pass command name and destination as real parameters
- Allow callers to specify the command source
- Send a SID instead of a server name if the target is a single server

10 years agoAdd Channel* parameter to OnSendWhoLine
Attila Molnar [Sat, 25 Jan 2014 11:40:21 +0000 (12:40 +0100)]
Add Channel* parameter to OnSendWhoLine

10 years agoOmit the server name internally when building a /STATS reply and prepend it later
Attila Molnar [Sat, 25 Jan 2014 11:28:39 +0000 (12:28 +0100)]
Omit the server name internally when building a /STATS reply and prepend it later

10 years agoConvert InspIRCd::PassCompare to return bool instead of int.
Peter Powell [Sat, 18 Jan 2014 04:53:52 +0000 (04:53 +0000)]
Convert InspIRCd::PassCompare to return bool instead of int.

The insane behaviour of this method was due to an implementation
detail which has since become irrelevent.

10 years agoDestroy Memberships of a quitting user in QuitUser() instead of in cull()
Attila Molnar [Sat, 25 Jan 2014 11:15:01 +0000 (12:15 +0100)]
Destroy Memberships of a quitting user in QuitUser() instead of in cull()

10 years agoConvert InviteBase::invites to an intrusively linked list
Attila Molnar [Fri, 24 Jan 2014 12:20:11 +0000 (13:20 +0100)]
Convert InviteBase::invites to an intrusively linked list

10 years agoRemove classbase inheritance from Invitation
Attila Molnar [Fri, 24 Jan 2014 12:12:40 +0000 (13:12 +0100)]
Remove classbase inheritance from Invitation

10 years agocmd_invite Fix incorrect parameter being passed to InspIRCd::Duration()
Attila Molnar [Fri, 24 Jan 2014 12:10:09 +0000 (13:10 +0100)]
cmd_invite Fix incorrect parameter being passed to InspIRCd::Duration()

10 years agoConvert LocalUserList to an intrusively linked list
Attila Molnar [Fri, 24 Jan 2014 12:08:13 +0000 (13:08 +0100)]
Convert LocalUserList to an intrusively linked list

10 years agoConvert UserChanList to an intrusively linked list
Attila Molnar [Fri, 24 Jan 2014 11:58:01 +0000 (12:58 +0100)]
Convert UserChanList to an intrusively linked list

10 years agoAdd intrusive list template
Attila Molnar [Fri, 24 Jan 2014 11:37:43 +0000 (12:37 +0100)]
Add intrusive list template

10 years agoRemove whitespace and minor style changes
Attila Molnar [Thu, 23 Jan 2014 13:37:09 +0000 (14:37 +0100)]
Remove whitespace and minor style changes

10 years agoGlobally #undef min and max on Windows
Attila Molnar [Thu, 23 Jan 2014 13:15:01 +0000 (14:15 +0100)]
Globally #undef min and max on Windows

10 years agoRemove unneeded classbase inheritance from FileReader
Attila Molnar [Thu, 23 Jan 2014 13:06:07 +0000 (14:06 +0100)]
Remove unneeded classbase inheritance from FileReader

10 years agoSplit IOHook into IOHook and IOHookProvider
Attila Molnar [Tue, 24 Sep 2013 18:40:20 +0000 (20:40 +0200)]
Split IOHook into IOHook and IOHookProvider

Create one IOHook instance for each hooked socket which contains all the
hook specific data and read/write/close functions, removing the need for
the "issl_session" array in SSL modules.

Register instances of the IOHookProvider class in the core and use them to
create specialized IOHook instances (OnConnect/OnAccept).

Remove the OnHookIO hook, add a dynamic reference to ListenSocket that
points to the hook provider (if any) to use for incoming connections on
that socket.

For outgoing connections modules still have to find the IOHookProvider
they want to use themselves but instead of calling AddIOHook(hookprov),
now they have to call IOHookProvider::OnConnect() after the connection
has been established.

10 years agoAdd the ability to have multiple SSL profiles
Attila Molnar [Tue, 24 Sep 2013 17:43:20 +0000 (19:43 +0200)]
Add the ability to have multiple SSL profiles

SSL profiles are now used instead of fixed SSL settings for everything
SSL, making it possible to use completely different settings for each
listener and outgoing connection.

Outgoing connections are broken until the next commit.

10 years agom_ssl_gnutls Create GNUTLS_NEW_CERT_CALLBACK_API and cert_cb_last_param_type
Attila Molnar [Tue, 24 Sep 2013 16:50:59 +0000 (18:50 +0200)]
m_ssl_gnutls Create GNUTLS_NEW_CERT_CALLBACK_API and cert_cb_last_param_type

10 years agoMerge insp20
Attila Molnar [Tue, 21 Jan 2014 17:44:08 +0000 (18:44 +0100)]
Merge insp20

10 years agom_spanningtree Fix routing of ROUTE_TYPE_MESSAGE messages
Attila Molnar [Tue, 21 Jan 2014 17:14:02 +0000 (18:14 +0100)]
m_spanningtree Fix routing of ROUTE_TYPE_MESSAGE messages

10 years agoAdd m_starttls and remove it from m_ssl_gnutls, which allows it to work with both...
Adam [Thu, 16 Jan 2014 04:31:28 +0000 (23:31 -0500)]
Add m_starttls and remove it from m_ssl_gnutls, which allows it to work with both openssl and gnutls

10 years agoRelease 2.0.15
Attila Molnar [Tue, 21 Jan 2014 13:13:25 +0000 (14:13 +0100)]
Release 2.0.15

10 years agoBump API version because of 3f4d54eb031f1cd6b016dfe1f768ed86303e3856
Attila Molnar [Tue, 21 Jan 2014 13:13:02 +0000 (14:13 +0100)]
Bump API version because of 3f4d54eb031f1cd6b016dfe1f768ed86303e3856

10 years agom_httpd_stats Be more conservative when escaping data
Attila Molnar [Tue, 21 Jan 2014 13:10:01 +0000 (14:10 +0100)]
m_httpd_stats Be more conservative when escaping data

Fix clang warning

10 years agoIncrease the penalty for a few core commands
Attila Molnar [Tue, 21 Jan 2014 13:04:45 +0000 (14:04 +0100)]
Increase the penalty for a few core commands

10 years agom_joinflood Unset the mode on unload
Attila Molnar [Mon, 20 Jan 2014 23:44:41 +0000 (00:44 +0100)]
m_joinflood Unset the mode on unload

10 years agoFix some logically dead code which was found by Coverity.
Peter Powell [Wed, 11 Dec 2013 05:05:36 +0000 (05:05 +0000)]
Fix some logically dead code which was found by Coverity.

10 years agom_svshold Add config option to hide snotices
Attila Molnar [Mon, 20 Jan 2014 16:05:01 +0000 (17:05 +0100)]
m_svshold Add config option to hide snotices

10 years agom_httpd Add timeout option; remove timed out connections
Attila Molnar [Mon, 20 Jan 2014 15:57:30 +0000 (16:57 +0100)]
m_httpd Add timeout option; remove timed out connections

10 years agoUpdate example configs/helpop
Attila Molnar [Mon, 20 Jan 2014 15:48:20 +0000 (16:48 +0100)]
Update example configs/helpop

10 years agoUse standard example addresses in configs
Mantas Mikulėnas [Thu, 2 Jan 2014 14:52:51 +0000 (16:52 +0200)]
Use standard example addresses in configs

`2001:db8::/32` is the [standard][1] IPv6 example address range, using
it also makes it clear when the user has just copy-pasted the example
config and didn't actually whitelist 6BONE for some strange reason.

Similarly, there are example addresses for [IPv4][2] and [DNS][3].

[1]: http://tools.ietf.org/html/rfc3849
[2]: http://tools.ietf.org/html/rfc5737
[3]: http://tools.ietf.org/html/rfc2606

10 years agom_services_account Add workaround for wrong host being displayed in numeric when...
Attila Molnar [Mon, 20 Jan 2014 15:40:01 +0000 (16:40 +0100)]
m_services_account Add workaround for wrong host being displayed in numeric when cgiirc users log in using SASL

10 years agom_dnsbl Don't send snotice when the {G|K|Z}line already exists
Attila Molnar [Mon, 20 Jan 2014 15:30:39 +0000 (16:30 +0100)]
m_dnsbl Don't send snotice when the {G|K|Z}line already exists

Fixes issue #717 reported by @Robby-

10 years agom_joinflood Fix remote joins affecting local joinflood state when the channel is...
Attila Molnar [Sun, 19 Jan 2014 16:04:11 +0000 (17:04 +0100)]
m_joinflood Fix remote joins affecting local joinflood state when the channel is locked

Fixes issue #694 reported by @TurkDesk

10 years agoUse FindNickOnly() in a few more places if a local user is performing an action to...
Attila Molnar [Sun, 19 Jan 2014 15:48:41 +0000 (16:48 +0100)]
Use FindNickOnly() in a few more places if a local user is performing an action to prevent UID walking

10 years agom_dccallow Increase penalty for /DCCALLOW help
Attila Molnar [Sun, 19 Jan 2014 15:42:10 +0000 (16:42 +0100)]
m_dccallow Increase penalty for /DCCALLOW help

10 years agom_alias Fix out of bounds string access that happened with certain replace strings
Attila Molnar [Sun, 19 Jan 2014 15:39:46 +0000 (16:39 +0100)]
m_alias Fix out of bounds string access that happened with certain replace strings

10 years agoFix OOB error in sa2cidr()
Daniel Vassdal [Mon, 25 Nov 2013 00:46:04 +0000 (16:46 -0800)]
Fix OOB error in sa2cidr()

10 years agoMerge pull request #732 from grawity/saslfix
Attila Molnar [Thu, 16 Jan 2014 18:26:16 +0000 (10:26 -0800)]
Merge pull request #732 from grawity/saslfix

m_sasl: properly handle bad-mechanism failures

10 years agom_sajoin Send global snotice when the join happens
Attila Molnar [Tue, 14 Jan 2014 14:01:44 +0000 (15:01 +0100)]
m_sajoin Send global snotice when the join happens

Remove "sent remote SAJOIN" local snotice

Fixes issue #382 reported by @JDowny

10 years agoDon't send the "your unique ID" (numeric 042) message on connect
Attila Molnar [Mon, 13 Jan 2014 14:20:01 +0000 (15:20 +0100)]
Don't send the "your unique ID" (numeric 042) message on connect

10 years agom_mlock Only deny the mlocked mode from being changed instead of denying the entire...
Attila Molnar [Mon, 13 Jan 2014 13:01:16 +0000 (14:01 +0100)]
m_mlock Only deny the mlocked mode from being changed instead of denying the entire mode change if it contains a single mlocked mode

Fixes issue #615 reported by @BlacklightShining

10 years agoSupport SASL messages other than 'C' and 'D'
Mantas Mikulėnas [Sat, 11 Jan 2014 21:42:34 +0000 (23:42 +0200)]
Support SASL messages other than 'C' and 'D'

10 years agoHandle SASL failures during SASL_INIT (wrong mechanism, etc.)
Mantas Mikulėnas [Sat, 11 Jan 2014 21:41:16 +0000 (23:41 +0200)]
Handle SASL failures during SASL_INIT (wrong mechanism, etc.)

10 years agoStop null checking pointers that are always valid
Attila Molnar [Thu, 9 Jan 2014 12:33:33 +0000 (13:33 +0100)]
Stop null checking pointers that are always valid

10 years agoRemove PreText()-like functions
Attila Molnar [Wed, 8 Jan 2014 11:52:07 +0000 (12:52 +0100)]
Remove PreText()-like functions

Do processing in OnUserPreMessage()

10 years agoRead uline state in spanningtree; remove ConfigReader::ulines
Attila Molnar [Wed, 8 Jan 2014 11:41:01 +0000 (12:41 +0100)]
Read uline state in spanningtree; remove ConfigReader::ulines

10 years agoAutomatically register and unregister mode watchers
Attila Molnar [Mon, 6 Jan 2014 12:37:06 +0000 (13:37 +0100)]
Automatically register and unregister mode watchers

10 years agoUnset all extensions and the topic when lowering TS on a channel
Attila Molnar [Mon, 6 Jan 2014 12:29:10 +0000 (13:29 +0100)]
Unset all extensions and the topic when lowering TS on a channel

10 years agom_deaf Simplify logic
Attila Molnar [Mon, 6 Jan 2014 12:17:06 +0000 (13:17 +0100)]
m_deaf Simplify logic

10 years agoMove server description field from TreeServer into Server; remove OnGetServerDescript...
Attila Molnar [Sun, 5 Jan 2014 14:20:17 +0000 (15:20 +0100)]
Move server description field from TreeServer into Server; remove OnGetServerDescription hook

10 years agoIntroduce Server class
Attila Molnar [Sun, 5 Jan 2014 14:04:01 +0000 (15:04 +0100)]
Introduce Server class

- Replaces std::string server in User
- Replaces InspIRCd::ULine() and SilentULine()

10 years agoRemove useless ULine() checks
Attila Molnar [Sun, 5 Jan 2014 13:27:30 +0000 (14:27 +0100)]
Remove useless ULine() checks

10 years agom_spanningtree Remove vector from TreeServer::QuitUsers()
Attila Molnar [Sun, 5 Jan 2014 13:23:03 +0000 (14:23 +0100)]
m_spanningtree Remove vector from TreeServer::QuitUsers()

10 years agoImprove UserManager::QuitUser() and related code
Attila Molnar [Sun, 5 Jan 2014 13:17:12 +0000 (14:17 +0100)]
Improve UserManager::QuitUser() and related code

- Make operreason optional; NULL means same as quitreason
- Remove User::quietquit, it is now handled internally in spanningtree
- Send snotice about quitting remote users from spanningtree

10 years agoFix possible use of invalid iterator on module unload
Attila Molnar [Sun, 5 Jan 2014 12:47:28 +0000 (13:47 +0100)]
Fix possible use of invalid iterator on module unload

When a module quits a user or destroys a channel in OnCleanup() the object is no longer in the container being iterated by the time OnCleanup() returns

10 years agoChange type of snomask parameter to char in ProtocolInterface::SendSNONotice()
Attila Molnar [Sat, 4 Jan 2014 18:43:04 +0000 (19:43 +0100)]
Change type of snomask parameter to char in ProtocolInterface::SendSNONotice()

10 years agoAdd functor that does strict weak ordering based on national_case_insensitive_map
Attila Molnar [Thu, 19 Dec 2013 16:30:22 +0000 (17:30 +0100)]
Add functor that does strict weak ordering based on national_case_insensitive_map

10 years agoFix some Windows-related problems.
Peter Powell [Mon, 16 Dec 2013 02:39:31 +0000 (02:39 +0000)]
Fix some Windows-related problems.

- Fix an error relating to the unavailability of std::back_inserter.
- Fix loading configuration files when using relative paths.
- Fix two methods in hashcomp being exported twice.
- Remove some unimportant error messages.

10 years agoShow +i users on a channel to opers having the channels/auspex priv who do /NAMES...
Attila Molnar [Sat, 4 Jan 2014 12:02:39 +0000 (13:02 +0100)]
Show +i users on a channel to opers having the channels/auspex priv who do /NAMES from outside of the chan

Discovered by @Cronus89

10 years agoMerge pull request #714 from SaberUK/insp20+fix-helpop
Attila Molnar [Sat, 28 Dec 2013 00:13:00 +0000 (16:13 -0800)]
Merge pull request #714 from SaberUK/insp20+fix-helpop

[2.0] Fix the HELPOP database being destroyed when a rehash fails.

10 years agoFix the HELPOP database being destroyed when a rehash fails.
Peter Powell [Thu, 26 Dec 2013 11:28:22 +0000 (11:28 +0000)]
Fix the HELPOP database being destroyed when a rehash fails.

10 years agoAllow ranges beginning with 0 in m_channames
Daniel Vassdal [Sat, 21 Dec 2013 03:10:48 +0000 (19:10 -0800)]
Allow ranges beginning with 0 in m_channames

10 years agom_showwhois Update settings on rehash
Attila Molnar [Thu, 19 Dec 2013 16:02:41 +0000 (17:02 +0100)]
m_showwhois Update settings on rehash

10 years agom_filter Remove ImplFilter and needless dynamic_cast
Attila Molnar [Thu, 19 Dec 2013 15:57:09 +0000 (16:57 +0100)]
m_filter Remove ImplFilter and needless dynamic_cast

10 years agoAdd m_ldap, and convert m_ldapoper and m_ldapauth to use it.
Adam [Thu, 10 Oct 2013 04:35:04 +0000 (00:35 -0400)]
Add m_ldap, and convert m_ldapoper and m_ldapauth to use it.

10 years agoFix FileReader not working with files specified in <files>
Attila Molnar [Wed, 18 Dec 2013 17:07:30 +0000 (18:07 +0100)]
Fix FileReader not working with files specified in <files>

10 years agoAdd m_showfile, remove cmd_rules
Attila Molnar [Wed, 18 Dec 2013 17:01:19 +0000 (18:01 +0100)]
Add m_showfile, remove cmd_rules

10 years agom_auditorium Switch to SimpleChannelModeHandler
Attila Molnar [Wed, 18 Dec 2013 15:32:22 +0000 (16:32 +0100)]
m_auditorium Switch to SimpleChannelModeHandler

10 years agom_spanningtree Fix clang warning and wrong operator in if
Attila Molnar [Wed, 18 Dec 2013 15:31:09 +0000 (16:31 +0100)]
m_spanningtree Fix clang warning and wrong operator in if

10 years agoClean up CoreException
Attila Molnar [Wed, 18 Dec 2013 15:20:40 +0000 (16:20 +0100)]
Clean up CoreException

- Remove default constructor
- Replace virtual functions returning C strings with functions returning const std::string refs

10 years agoFix issues discovered by Coverity
Daniel Vassdal [Mon, 25 Nov 2013 00:04:32 +0000 (16:04 -0800)]
Fix issues discovered by Coverity

- Fix resource leak in InspIRCd::Format()
- Explicitly set NewServices to NULL before the object it points to goes out of scope