michael [Mon, 7 Sep 2015 18:19:27 +0000 (18:19 +0000)]
- Update README as suggested by jackal
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6521
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 19 Jul 2015 14:57:26 +0000 (14:57 +0000)]
- main.c: remove unused header includes
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6301
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 19 Jul 2015 12:00:35 +0000 (12:00 +0000)]
- scan.c, scan.h: removed prototype for scan_checkexempt() and declared it as static
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6300
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 19 Jul 2015 11:47:31 +0000 (11:47 +0000)]
- Update reference.conf
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6297
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Fri, 17 Jul 2015 19:11:50 +0000 (19:11 +0000)]
- Due to security reasons the PROTOCOLS command has been removed again
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6296
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Fri, 17 Jul 2015 12:01:50 +0000 (12:01 +0000)]
- scan.c:scan_connect(): style corrections
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6294
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Fri, 17 Jul 2015 11:53:05 +0000 (11:53 +0000)]
- scan.c:scan_connect(): rename variables; show the ip address in the exemption debug message, too
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6291
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Fri, 17 Jul 2015 11:42:46 +0000 (11:42 +0000)]
- scan.c:scan_connect(): move 'ip' from outermost to innermost scope
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6290
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Fri, 17 Jul 2015 11:37:06 +0000 (11:37 +0000)]
- scan.c:scan_irckline(): sanitize array initalization
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6287
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Fri, 17 Jul 2015 11:29:29 +0000 (11:29 +0000)]
- scan.c: removed junk in scan_negotiation_failed() and scan_timeout(); constification
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6286
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Fri, 17 Jul 2015 11:24:00 +0000 (11:24 +0000)]
- scan.c:scan_free(): removed useless test on 'ss'
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6283
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 14 Jul 2015 11:13:25 +0000 (11:13 +0000)]
- irc.c:irc_init(): improve error reporting
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6282
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 14 Jul 2015 10:40:49 +0000 (10:40 +0000)]
- Re-create autogenerated files
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6279
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 14 Jul 2015 10:39:10 +0000 (10:39 +0000)]
- Allow relative pathnames for options::pidfile and options::scanlog
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6276
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 14 Jul 2015 10:08:34 +0000 (10:08 +0000)]
- Re-create autogenerated files
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6275
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 14 Jul 2015 10:07:30 +0000 (10:07 +0000)]
- Save PID file in var/run/ and logfiles in var/log/
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6272
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Mon, 13 Jul 2015 14:54:11 +0000 (14:54 +0000)]
- irc.c:irc_read(): exempt EINTR from logging
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6270
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 12 Jul 2015 17:15:45 +0000 (17:15 +0000)]
- irc.c:irc_read(): always log failed read() regardless of the debug level
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6268
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 12 Jul 2015 17:05:26 +0000 (17:05 +0000)]
- irc.c:irc_read(): improve error message for failed read()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6266
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 12 Jul 2015 17:03:28 +0000 (17:03 +0000)]
- irc.c:irc_read(): made 'len' a ssize_t
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6264
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Fri, 10 Jul 2015 12:42:39 +0000 (12:42 +0000)]
- scan.c: remove poll.h header include
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6250
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Fri, 10 Jul 2015 11:02:03 +0000 (11:02 +0000)]
- stats.c: removed #ifdef HAVE_LIBCRYPTO not needed
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6247
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Wed, 8 Jul 2015 13:49:12 +0000 (13:49 +0000)]
- scan.c:scan_irckline(): highly unlikely that strlcat() is first to write to 'message', but initialize it anyway
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6237
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Wed, 8 Jul 2015 13:32:36 +0000 (13:32 +0000)]
- Update reference.conf
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6235
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Wed, 8 Jul 2015 12:57:41 +0000 (12:57 +0000)]
- dnsbl.c:dnsbl_positive(): fixed weird logic that could result in 'text_type' being appended
with two commas which later would defeat the purpose of *(strrchr(text_type, ',')) = '\0'
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6232
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 2 Jul 2015 09:05:52 +0000 (09:05 +0000)]
- libopm.c: removed unused function we probably won't ever use
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6226
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 2 Jul 2015 08:01:14 +0000 (08:01 +0000)]
- libopm.c:libopm_check_closed(): improve sanity test on conn->fd
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6224
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Wed, 1 Jul 2015 18:38:05 +0000 (18:38 +0000)]
- Re-create autogenerated files
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6223
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Wed, 1 Jul 2015 18:09:27 +0000 (18:09 +0000)]
- Added HTTPS support for SSL/TLS-enabled HTTP proxies
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6222
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Wed, 1 Jul 2015 17:44:48 +0000 (17:44 +0000)]
- Update NEWS file
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6221
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Mon, 29 Jun 2015 16:09:49 +0000 (16:09 +0000)]
- stats.c:fdstats_output(): fixed coverity CID 120798 (#1 of 1): Resource leak (RESOURCE_LEAK)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6219
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sat, 27 Jun 2015 17:18:30 +0000 (17:18 +0000)]
- irc.c: remove assumption that socket() returns fd higher than 0 (which it probably won't because of
log files opened before, but let's remove that limitation anyway); removed close() in irc_init()
since IRC_FD is always -1 at this point
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6215
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Fri, 26 Jun 2015 17:36:15 +0000 (17:36 +0000)]
- main.c:main(): terminate the process if execv() fails
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6214
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Fri, 26 Jun 2015 17:00:33 +0000 (17:00 +0000)]
- opercmd.c, opercmd.h: constification
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6212
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Fri, 26 Jun 2015 16:58:11 +0000 (16:58 +0000)]
- config.c:config_load(): move the fclose(yyin) right after yyparse()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6209
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 25 Jun 2015 18:41:39 +0000 (18:41 +0000)]
- reference.conf: removed extraneous newline
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6206
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 25 Jun 2015 15:58:16 +0000 (15:58 +0000)]
- Rebuilt parser files
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6201
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 25 Jun 2015 15:56:16 +0000 (15:56 +0000)]
- Added options::dns_timeout configuration option which allows to specify the amount of time the
resolver waits until a response is received from a name server
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6200
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 25 Jun 2015 14:36:47 +0000 (14:36 +0000)]
- Change userinfo_create() to not always allocate memory for each user message; improve checking for malformed sender prefixes
- Remove now unused userinfo_free()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6198
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 25 Jun 2015 14:17:17 +0000 (14:17 +0000)]
- stats.c, stats.h: made StatsHash::type 'const unsigned'
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6195
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 23 Jun 2015 16:50:35 +0000 (16:50 +0000)]
- Add --enable-warnings switch
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6183
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 23 Jun 2015 16:46:49 +0000 (16:46 +0000)]
- opercmd.c: fixed compile warning with -Wshadow
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6182
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 21 Jun 2015 17:51:29 +0000 (17:51 +0000)]
- reference.conf: added GLINE example for ircu
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6178
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 21 Jun 2015 16:13:25 +0000 (16:13 +0000)]
- Get rid of command_init()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6175
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sat, 20 Jun 2015 16:27:44 +0000 (16:27 +0000)]
- INSTALL: fixed typo
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6171
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sat, 20 Jun 2015 16:18:28 +0000 (16:18 +0000)]
- reference.conf: mostly cosmetical corrections
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6170
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sat, 20 Jun 2015 15:50:50 +0000 (15:50 +0000)]
- irc.c: reformatting; move COMMAND_TABLE into irc_parse()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6167
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Fri, 19 Jun 2015 16:33:47 +0000 (16:33 +0000)]
- main.c, stats.c: replace bopm occurrences with hopm in some comments
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6166
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 14 Jun 2015 19:21:37 +0000 (19:21 +0000)]
- irc.c:userinfo_create(): use pointer arithmetic instead of array subscripting
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6150
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 14 Jun 2015 17:29:51 +0000 (17:29 +0000)]
- Style corrections
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6149
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 14 Jun 2015 16:36:36 +0000 (16:36 +0000)]
- opercmd.c: renamed cmd_stat() to cmd_stats()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6146
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 14 Jun 2015 12:24:31 +0000 (12:24 +0000)]
- opercmd.c:command_create(): rename variable to be consistent with other functions
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6144
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 14 Jun 2015 12:15:36 +0000 (12:15 +0000)]
- opercmd.c:command_parse(): removed STAT and STATUS from the COMMAND_TABLE. STATS should be used instead.
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6143
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 14 Jun 2015 12:09:16 +0000 (12:09 +0000)]
- opercmd.c: moved the COMMAND_TABLE into command_parse()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6140
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 14 Jun 2015 12:06:57 +0000 (12:06 +0000)]
- opercmd.c: reformatting
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6138
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 11 Jun 2015 19:20:00 +0000 (19:20 +0000)]
- configure.ac: cleaned up comment
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6133
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 11 Jun 2015 13:27:14 +0000 (13:27 +0000)]
- gcc_stack_protect.m4: modernization: AC_TRY_COMPILE and AC_TRY_LINK are obsolete
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6115
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 11 Jun 2015 13:16:23 +0000 (13:16 +0000)]
- autoreconf
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6113
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 11 Jun 2015 12:57:31 +0000 (12:57 +0000)]
- Makefile.am: added proper ACLOCAL_AMFLAGS
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6111
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 11 Jun 2015 12:56:34 +0000 (12:56 +0000)]
- autoreconf
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6110
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 11 Jun 2015 12:50:14 +0000 (12:50 +0000)]
- configure.ac: replaced AC_PROG_LIBTOOL with LT_INIT. AC_PROG_LIBTOOL is deprecated
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6106
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 11 Jun 2015 12:45:27 +0000 (12:45 +0000)]
- autoreconf
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6105
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 11 Jun 2015 12:38:55 +0000 (12:38 +0000)]
- configure.ac: have HOPM to compile with -fstack-protector-strong and -fstack-protector, respectively,
depending on what the compiler supports
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6102
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 11 Jun 2015 12:34:32 +0000 (12:34 +0000)]
- configure.ac: make use of AX_ARG_ENABLE_ASSERT and AX_LIBRARY_NET
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6100
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 11 Jun 2015 12:31:29 +0000 (12:31 +0000)]
- Further cleanups to the build system; moved various things we need to separate autoconf macros
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6099
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Wed, 10 Jun 2015 17:54:27 +0000 (17:54 +0000)]
- Also propset svn:eol-style native AUTHORS
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6093
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Wed, 10 Jun 2015 17:53:00 +0000 (17:53 +0000)]
- propset svn:keywords "Id" AUTHORS
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6091
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Wed, 10 Jun 2015 17:51:08 +0000 (17:51 +0000)]
- Added the AUTHORS file
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6089
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 9 Jun 2015 19:59:59 +0000 (19:59 +0000)]
- config.h: made OptionsConf::negcache a time_t
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6086
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 9 Jun 2015 18:32:15 +0000 (18:32 +0000)]
- Update NEWS file
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6085
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 9 Jun 2015 18:27:38 +0000 (18:27 +0000)]
- options.h: removed unused PIDEXT definition
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6082
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 9 Jun 2015 18:24:09 +0000 (18:24 +0000)]
- Rebuilt parser files
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6081
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 9 Jun 2015 18:21:36 +0000 (18:21 +0000)]
- Made the RECONNECTINTERVAL configurable via the hopm.conf
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6078
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Mon, 8 Jun 2015 20:52:49 +0000 (20:52 +0000)]
- libopm/src/libopm.c:opm_config(): removed extraneous parentheses
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6076
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Mon, 8 Jun 2015 20:46:36 +0000 (20:46 +0000)]
- libopm/src/libopm.c:libopm_do_read(): constification
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6075
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Mon, 8 Jun 2015 20:29:21 +0000 (20:29 +0000)]
- libopm/src/libopm.c:libopm_do_connect(): removed extraneous parentheses
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6072
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Mon, 8 Jun 2015 20:18:43 +0000 (20:18 +0000)]
- libopm/src/config.c: constification; remove extraneous comma from the 'HASH' table
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6071
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Mon, 8 Jun 2015 20:10:36 +0000 (20:10 +0000)]
- libopm/src/config.c: constification
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6068
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sat, 6 Jun 2015 16:58:38 +0000 (16:58 +0000)]
- Cleaned up prototypes
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6057
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 4 Jun 2015 15:52:30 +0000 (15:52 +0000)]
- Re-built parser files
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6052
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 4 Jun 2015 15:51:26 +0000 (15:51 +0000)]
- config-parser.y: removed explicit yydebug=0; yydebug is disabled by default anyways.
Declared 'tmp' as static. Fixed minor style issues
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6049
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 4 Jun 2015 11:21:15 +0000 (11:21 +0000)]
- Re-built lexer file
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6047
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 4 Jun 2015 11:09:23 +0000 (11:09 +0000)]
- config-lexer.l: declare ccomment() as static
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6046
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 4 Jun 2015 11:07:23 +0000 (11:07 +0000)]
- Made 'linenum' unsigned
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6043
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 4 Jun 2015 11:00:54 +0000 (11:00 +0000)]
- config-lexer.c:ccomment(): cleaned up style issues
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6042
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 4 Jun 2015 10:42:33 +0000 (10:42 +0000)]
- Re-built lexer file
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6038
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 4 Jun 2015 10:41:19 +0000 (10:41 +0000)]
- config-lexer.l: fixed bug where the configuration parser would report syntax errors with invalid line numbers
when there are multi-line C comments in the config file.
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6036
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Wed, 3 Jun 2015 16:41:02 +0000 (16:41 +0000)]
- log.c: remove header includes we don't need
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6035
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Wed, 3 Jun 2015 16:32:17 +0000 (16:32 +0000)]
- stats.c: remove header includes we don't need
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6032
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 2 Jun 2015 16:51:06 +0000 (16:51 +0000)]
- scan.c:scan_irckline(): we can use char* instead of a void* in the 'kline_format_assoc' structure
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6030
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 2 Jun 2015 16:41:29 +0000 (16:41 +0000)]
- scan.c:scan_irckline(): avoid table indexing where possible
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6029
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 2 Jun 2015 16:33:41 +0000 (16:33 +0000)]
- scan.c, scan.h: moved the 'struct kline_format_assoc' into scan_irckline()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6025
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 2 Jun 2015 16:22:45 +0000 (16:22 +0000)]
- stats.c: avoid table indexing where possible
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6024
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Tue, 2 Jun 2015 16:01:55 +0000 (16:01 +0000)]
- stats.c:stats_openproxy(): break the loop early if a matching type in the STATS_PROXIES table has been found
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6021
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 31 May 2015 16:32:38 +0000 (16:32 +0000)]
- firedns.c: c99 style array initialization
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6019
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 31 May 2015 14:08:36 +0000 (14:08 +0000)]
- main.c:main(): improve error message for failed fopen() on the pid file
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6018
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sun, 31 May 2015 13:44:37 +0000 (13:44 +0000)]
- scan.c:scan_connect(): replaced hardcoded MSGLENMAX with sizeof()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6015
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sat, 30 May 2015 19:58:45 +0000 (19:58 +0000)]
- irc.c:m_notice(): use a more compact error message for regcomp() errors
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6014
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Sat, 30 May 2015 19:28:18 +0000 (19:28 +0000)]
- irc.c:m_privmsg(): style corrections
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6011
82007160-df01-0410-b94d-
b575c5fd34c7
michael [Thu, 28 May 2015 17:05:18 +0000 (17:05 +0000)]
- irc.c:m_privmsg(): added missing 'return' when processing CTCP messages
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6005
82007160-df01-0410-b94d-
b575c5fd34c7