]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
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

10 years agoRemove unused motd and rules field from ServerConfig
Attila Molnar [Wed, 18 Dec 2013 15:07:50 +0000 (16:07 +0100)]
Remove unused motd and rules field from ServerConfig

10 years agom_sakick Replace C string with C++ string
Attila Molnar [Wed, 18 Dec 2013 14:51:17 +0000 (15:51 +0100)]
m_sakick Replace C string with C++ string

10 years agoClean up error messages in a few SA commands
Attila Molnar [Wed, 18 Dec 2013 14:50:30 +0000 (15:50 +0100)]
Clean up error messages in a few SA commands

10 years agoAdd a Flash Policy Daemon module
Daniel Vassdal [Tue, 10 Dec 2013 13:51:30 +0000 (05:51 -0800)]
Add a Flash Policy Daemon module

10 years agoMerge pull request #586 from SaberUK/master+test-build
Attila Molnar [Mon, 16 Dec 2013 15:45:02 +0000 (07:45 -0800)]
Merge pull request #586 from SaberUK/master+test-build

Add a tool for running test builds.

10 years agoAdd a tool for running test builds.
Peter Powell [Sun, 7 Jul 2013 09:47:38 +0000 (10:47 +0100)]
Add a tool for running test builds.

10 years agoFix $config{UID} being set incorrectly
Peter Powell [Sun, 15 Dec 2013 16:02:15 +0000 (17:02 +0100)]
Fix $config{UID} being set incorrectly

Fixes issue #697 reported by @Nowaker

10 years agoMerge pull request #708 from SaberUK/master+development-branch
Attila Molnar [Sun, 15 Dec 2013 15:32:47 +0000 (07:32 -0800)]
Merge pull request #708 from SaberUK/master+development-branch

Add a warning that the user is using a development version.

10 years agom_spanningtree Fix nick TS desync on SVSNICK
Attila Molnar [Sun, 15 Dec 2013 12:10:33 +0000 (13:10 +0100)]
m_spanningtree Fix nick TS desync on SVSNICK

Don't accept invalid timestamps

10 years agoMerge pull request #689 from SaberUK/master+cxxify
Adam [Sun, 15 Dec 2013 06:55:10 +0000 (22:55 -0800)]
Merge pull request #689 from SaberUK/master+cxxify

Clean up various things.

10 years agoMake various self contained methods static.
Peter Powell [Sun, 15 Dec 2013 05:34:00 +0000 (05:34 +0000)]
Make various self contained methods static.

- InspIRCd::IsValidMask
- InspIRCd::TimeString

10 years agoPurge docs/rfc from the repository.
Peter Powell [Sun, 24 Nov 2013 16:20:31 +0000 (16:20 +0000)]
Purge docs/rfc from the repository.

These are of no use to 99% of users and anyone who actually wants
to read them should be capable of using Google to find them.

10 years agoRemove some pointless code:
Peter Powell [Sun, 24 Nov 2013 15:05:12 +0000 (15:05 +0000)]
Remove some pointless code:

- Remove the CHARSET entry from ISUPPORT.

  CHARSET was removed in draft-brocklesby-irc-isupport-03 and we
  always used the default value anyway. This has also been removed
  in the latest version of Charybdis.

- Remove irc::sockets::satouser.

  This helper method was longer than the code it replaced.

10 years agoMove stuff around a bit:
Peter Powell [Sat, 5 Oct 2013 03:55:11 +0000 (04:55 +0100)]
Move stuff around a bit:

- Create FileSystem class:
  * Move ServerConfig::CleanFilename to FileSystem::GetFileName and rewrite.
  * Move ServerConfig::ExpandPath to FileSystem.
  * Move ServerConfig::FileExists to FileSystem.
  * Move ServerConfig::StartsWithWindowsDriveLetter to FileSystem.
- Move FileReader to fileutils.cpp and fix documentation.
- Move UserManager::DoBackgroundUserStuff to usermanager.cpp.

10 years agoFix m_override refusing to override modes if the user holds halfop or higher in the...
Daniel Vassdal [Thu, 12 Dec 2013 21:39:10 +0000 (13:39 -0800)]
Fix m_override refusing to override modes if the user holds halfop or higher in the channel

10 years agoAdd a warning that the user is using a development version.
Peter Powell [Fri, 13 Dec 2013 10:39:22 +0000 (10:39 +0000)]
Add a warning that the user is using a development version.

10 years agoFix ACCEPT propagation bug when it got a nick prefixed with +
Daniel Vassdal [Sat, 7 Dec 2013 20:44:10 +0000 (12:44 -0800)]
Fix ACCEPT propagation bug when it got a nick prefixed with +

Fixes #696
Does not apply to 2.2 due to Attila's rewrite of the module

10 years agoMerge pull request #693 from SaberUK/insp20+modulemanager-bugs
Attila Molnar [Fri, 29 Nov 2013 21:14:45 +0000 (13:14 -0800)]
Merge pull request #693 from SaberUK/insp20+modulemanager-bugs

[2.0] Fix various problems with ModuleManager.

10 years agoFix various problems with ModuleManager.
Peter Powell [Fri, 29 Nov 2013 20:23:57 +0000 (20:23 +0000)]
Fix various problems with ModuleManager.

- Fix downloading the module list on very new versions of Perl.
- Fix an off by one error caused by array sizing starting at -1
  instead of 0 like in every single other language (!!).
- Fix vague error messages when LWP encounters an error.
- Fix LWP::Simple being used before we have checked whether it is
  available.

10 years agom_cap Convert capability names in CAP REQ to lowercase before processing them
attilamolnar [Thu, 21 Nov 2013 21:25:45 +0000 (22:25 +0100)]
m_cap Convert capability names in CAP REQ to lowercase before processing them

Requested in #686

10 years agoFix a few issues
attilamolnar [Wed, 18 Sep 2013 08:27:06 +0000 (10:27 +0200)]
Fix a few issues

- Rehash notices
- Modes in CAPAB
- GetTargetAndAction() not being static in m_callerid
- Loading custom configuration files using --config. (@SaberUK)
- ServerConfig::Read not using std::endl. (@SaberUK)
- Out of date comments in opers.conf.example, issue #624

10 years agoAllow multiple allowmasks in link blocks, #679
Adam [Thu, 21 Nov 2013 20:52:38 +0000 (15:52 -0500)]
Allow multiple allowmasks in link blocks, #679

10 years agoDisallow remote /MODULES for non-opers.
Daniel Vassdal [Tue, 12 Nov 2013 19:02:28 +0000 (11:02 -0800)]
Disallow remote /MODULES for non-opers.

10 years agoMerge pull request #685 from SaberUK/master+gnutls-rng
Attila Molnar [Mon, 18 Nov 2013 16:05:29 +0000 (08:05 -0800)]
Merge pull request #685 from SaberUK/master+gnutls-rng

Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.

10 years agoUse gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.
Peter Powell [Mon, 18 Nov 2013 13:48:07 +0000 (13:48 +0000)]
Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.

Also, fix a bug where eval() caused compile errors.

10 years agoFix remote /MODULES bug
Daniel Vassdal [Tue, 12 Nov 2013 16:28:40 +0000 (08:28 -0800)]
Fix remote /MODULES bug

10 years agoThese two numerics are supposed to use SentText() as they can go to remote users...
Adam [Tue, 12 Nov 2013 15:42:17 +0000 (10:42 -0500)]
These two numerics are supposed to use SentText() as they can go to remote users...

10 years agoUse WriteNumeric() everywhere we send numerics and include the user's nick automatically
Adam [Tue, 12 Nov 2013 11:51:31 +0000 (06:51 -0500)]
Use WriteNumeric() everywhere we send numerics and include the user's nick automatically

10 years agoMerge pull request #672 from SaberUK/master+rt-link-err
Adam [Sat, 9 Nov 2013 16:52:36 +0000 (08:52 -0800)]
Merge pull request #672 from SaberUK/master+rt-link-err

Fix PrefixMode not being exported which caused runtime link errors.

10 years agoFix PrefixMode not being exported which caused runtime link errors.
Peter Powell [Sat, 9 Nov 2013 16:29:50 +0000 (16:29 +0000)]
Fix PrefixMode not being exported which caused runtime link errors.

10 years agoUse case insensitive comparison for server names for (auto)connects, issue #662
Adam [Sat, 9 Nov 2013 11:52:38 +0000 (06:52 -0500)]
Use case insensitive comparison for server names for (auto)connects, issue #662

10 years agoFix parsing ADDLINE with expiration or creation dates past ~2038 probably
Adam [Sat, 9 Nov 2013 11:43:49 +0000 (06:43 -0500)]
Fix parsing ADDLINE with expiration or creation dates past ~2038 probably

10 years agoFix issue #657, fix sending FNAME with spaces
Adam [Sat, 9 Nov 2013 11:23:05 +0000 (06:23 -0500)]
Fix issue #657, fix sending FNAME with spaces

10 years agoFix m_silence looking for maxentries in <showwhois> instead of <silence>.
Peter Powell [Wed, 23 Oct 2013 22:46:08 +0000 (23:46 +0100)]
Fix m_silence looking for maxentries in <showwhois> instead of <silence>.

Fixes issue #644.

10 years agoMerge pull request #638 from SaberUK/insp20+runas-fix
Attila Molnar [Thu, 26 Sep 2013 15:01:15 +0000 (08:01 -0700)]
Merge pull request #638 from SaberUK/insp20+runas-fix

Improve error reporting for <security:runas{user,group}>.

10 years agoImprove error reporting for <security:runas{user,group}>.
Peter Powell [Tue, 24 Sep 2013 21:36:28 +0000 (22:36 +0100)]
Improve error reporting for <security:runas{user,group}>.

10 years agoWork around STB_GNU_UNIQUE symbols not allowing module unmap
attilamolnar [Sun, 15 Sep 2013 14:54:34 +0000 (16:54 +0200)]
Work around STB_GNU_UNIQUE symbols not allowing module unmap

10 years agoRemove redundant parameter.clear()s from mode handlers
attilamolnar [Tue, 3 Sep 2013 12:13:21 +0000 (14:13 +0200)]
Remove redundant parameter.clear()s from mode handlers

10 years agom_services_account Remove OnDecodeMetaData handler
attilamolnar [Tue, 3 Sep 2013 12:10:54 +0000 (14:10 +0200)]
m_services_account Remove OnDecodeMetaData handler

Override StringExtItem::unserialize() instead

10 years agoFix ConvToStr(char)
attilamolnar [Sat, 14 Sep 2013 13:23:45 +0000 (15:23 +0200)]
Fix ConvToStr(char)

10 years agoFix a shadow warning created by ConfigTag::create
ChrisTX [Mon, 9 Sep 2013 21:50:21 +0000 (23:50 +0200)]
Fix a shadow warning created by ConfigTag::create

10 years agoPass an interface to the OnSync hooks
attilamolnar [Mon, 2 Sep 2013 11:41:16 +0000 (13:41 +0200)]
Pass an interface to the OnSync hooks

Remove Module::ProtoSendMetaData()

10 years agoSplit ProtocolInterface::SendMetaData() into multiple functions
attilamolnar [Mon, 2 Sep 2013 11:17:24 +0000 (13:17 +0200)]
Split ProtocolInterface::SendMetaData() into multiple functions

10 years agoSend ListModeBase modes implicitly on channel sync
attilamolnar [Mon, 2 Sep 2013 11:01:41 +0000 (13:01 +0200)]
Send ListModeBase modes implicitly on channel sync

Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel()

10 years agoKeep lists of mode handlers by type
attilamolnar [Mon, 2 Sep 2013 10:33:28 +0000 (12:33 +0200)]
Keep lists of mode handlers by type

10 years agoAdd ModeHandler::IsListModeBase() and MC_LIST
attilamolnar [Mon, 2 Sep 2013 10:25:54 +0000 (12:25 +0200)]
Add ModeHandler::IsListModeBase() and MC_LIST

10 years agom_modenotice Use WriteNotice()
attilamolnar [Sun, 1 Sep 2013 13:00:01 +0000 (15:00 +0200)]
m_modenotice Use WriteNotice()

10 years agoConvert cmd_modenotice into an optional module
attilamolnar [Sun, 1 Sep 2013 12:58:02 +0000 (14:58 +0200)]
Convert cmd_modenotice into an optional module

10 years agoMove prefix mode specific fields and getters into PrefixMode
attilamolnar [Sun, 1 Sep 2013 12:38:41 +0000 (14:38 +0200)]
Move prefix mode specific fields and getters into PrefixMode

Add ModeHandler::IsPrefixMode()

10 years agoCreate a base class for prefix modes
attilamolnar [Sun, 1 Sep 2013 12:25:15 +0000 (14:25 +0200)]
Create a base class for prefix modes

Move Channel::SetPrefix() into Membership

10 years agoAdd a type id field to ModeHandler
attilamolnar [Sun, 1 Sep 2013 12:17:04 +0000 (14:17 +0200)]
Add a type id field to ModeHandler

10 years agom_spanningtree Minor fixes
attilamolnar [Tue, 10 Sep 2013 12:07:08 +0000 (14:07 +0200)]
m_spanningtree Minor fixes

- Handle the case when servers SQUIT themselves
- Fix extra space in channel messages

10 years agom_spanningtree Handle ERROR when fully connected
attilamolnar [Tue, 10 Sep 2013 11:55:20 +0000 (13:55 +0200)]
m_spanningtree Handle ERROR when fully connected

10 years agom_spanningtree Move c2s commands out of SpanningTreeCommands to auto register them
attilamolnar [Tue, 10 Sep 2013 11:54:01 +0000 (13:54 +0200)]
m_spanningtree Move c2s commands out of SpanningTreeCommands to auto register them

10 years agom_httpd Close all open http sockets on unload
attilamolnar [Mon, 9 Sep 2013 11:30:31 +0000 (13:30 +0200)]
m_httpd Close all open http sockets on unload

10 years agom_showwhois Require 2 parameters for WHOISNOTICE
attilamolnar [Mon, 9 Sep 2013 11:22:51 +0000 (13:22 +0200)]
m_showwhois Require 2 parameters for WHOISNOTICE

10 years agoChange allocation of a few services to make use of auto registration
attilamolnar [Sun, 8 Sep 2013 16:00:22 +0000 (18:00 +0200)]
Change allocation of a few services to make use of auto registration

10 years agoHide all symbols that aren't exported explicitly
attilamolnar [Fri, 23 Aug 2013 09:13:09 +0000 (11:13 +0200)]
Hide all symbols that aren't exported explicitly

In addition to reducing the sizes of all binaries this also helps the optimizer

10 years agoRemove InspIRCd::HandleRehash functor
attilamolnar [Sun, 8 Sep 2013 15:21:01 +0000 (17:21 +0200)]
Remove InspIRCd::HandleRehash functor

Call InspIRCd::Rehash() from cmd_rehash and from the SIGHUP handler

10 years agoAutomatically register ServiceProviders created by modules
attilamolnar [Sun, 26 May 2013 17:44:13 +0000 (19:44 +0200)]
Automatically register ServiceProviders created by modules

10 years agoDeduplicate code in modmanager_static and modmanager_dynamic
attilamolnar [Sun, 8 Sep 2013 15:10:15 +0000 (17:10 +0200)]
Deduplicate code in modmanager_static and modmanager_dynamic

10 years agoRemove ModuleManager::ModCount and GetCount()
attilamolnar [Sun, 8 Sep 2013 14:57:03 +0000 (16:57 +0200)]
Remove ModuleManager::ModCount and GetCount()

10 years agoFix module loading in PURE_STATIC builds
attilamolnar [Sun, 8 Sep 2013 14:54:33 +0000 (16:54 +0200)]
Fix module loading in PURE_STATIC builds

10 years agoFix a crash when running as systemd service
ChrisTX [Wed, 4 Sep 2013 12:16:48 +0000 (14:16 +0200)]
Fix a crash when running as systemd service

- Fix a NULL dereference if a signal is raised in the constructor of the
class InspIRCd
- Resolve the parent's process exit code being SIGTERM=15 and typically not
EXIT_SUCCESS thus

A combination of the two caused crashes when running as systemd unit.