]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
11 years agoUse exit code EXIT_STATUS_SERVICE on Windows when exiting because of a service error
attilamolnar [Tue, 18 Jun 2013 19:26:54 +0000 (21:26 +0200)]
Use exit code EXIT_STATUS_SERVICE on Windows when exiting because of a service error

11 years agoRemove dead code from the InspIRCd and CommandParser classes and typedefs.h
attilamolnar [Tue, 18 Jun 2013 19:25:43 +0000 (21:25 +0200)]
Remove dead code from the InspIRCd and CommandParser classes and typedefs.h

Removed functions:

InspIRCd:
- Restart() - unused
- DoSocketTimeouts() - no implementation exists
- AddCommand() - useless wrapper around ModuleManager::AddService()

CommandParser:
- IsValidCommand() - unused
- ProcessParameters() - no implementation exists

11 years agoMinor changes to the startup and shutdown code
attilamolnar [Tue, 18 Jun 2013 19:20:30 +0000 (21:20 +0200)]
Minor changes to the startup and shutdown code

- Update comments
- Close logs in LogManager destructor instead of relying on other code to do it
- Change return type of InspIRCd::Run() to void
- private: InspIRCd::CheckRoot()
- Change log message type of setgroups() etc. errors to "STARTUP"
- Load cmd_privmsg in PURE_STATIC builds

11 years agoRemove unused exit codes
attilamolnar [Tue, 18 Jun 2013 19:13:09 +0000 (21:13 +0200)]
Remove unused exit codes

11 years agoAlways set the topic in Channel::SetTopic(), move access checks into cmd_topic
attilamolnar [Sun, 16 Jun 2013 19:53:05 +0000 (21:53 +0200)]
Always set the topic in Channel::SetTopic(), move access checks into cmd_topic

11 years agoAdd RE2 regex module.
Peter Powell [Tue, 11 Jun 2013 22:33:15 +0000 (23:33 +0100)]
Add RE2 regex module.

11 years agom_banredirect Accept channel names starting with #! and #@
Daniel Vassdal [Sun, 2 Jun 2013 21:10:24 +0000 (14:10 -0700)]
m_banredirect Accept channel names starting with #! and #@

Fixes #504 reported by @mechasr

11 years agoCall Channel::SetModeParam() from the mode parser when needed instead of requiring...
attilamolnar [Thu, 13 Jun 2013 17:00:01 +0000 (19:00 +0200)]
Call Channel::SetModeParam() from the mode parser when needed instead of requiring mode handlers to do it

11 years agoRemove TR_END, remove TRANSLATEx() from commands that do not need it
attilamolnar [Thu, 13 Jun 2013 16:41:10 +0000 (18:41 +0200)]
Remove TR_END, remove TRANSLATEx() from commands that do not need it

11 years agoRewrite CommandParser::TranslateUIDs()
attilamolnar [Thu, 13 Jun 2013 16:32:29 +0000 (18:32 +0200)]
Rewrite CommandParser::TranslateUIDs()

11 years agoReplace void* dest and target_type parameters of OnMode with a User* and a Channel*
attilamolnar [Thu, 13 Jun 2013 16:20:10 +0000 (18:20 +0200)]
Replace void* dest and target_type parameters of OnMode with a User* and a Channel*

11 years agoIntroduce ModeProcessFlags, can be passed to ModeParser::Process() to indicate local...
attilamolnar [Thu, 13 Jun 2013 16:15:34 +0000 (18:15 +0200)]
Introduce ModeProcessFlags, can be passed to ModeParser::Process() to indicate local only mode changes and mode merges

Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global

This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.)

11 years agom_spanningtree Move SVSMODE -> MODE translation into the appropiate place, ignore...
attilamolnar [Wed, 12 Jun 2013 19:44:31 +0000 (21:44 +0200)]
m_spanningtree Move SVSMODE -> MODE translation into the appropiate place, ignore non-channel METADATA

11 years agom_spanningtree Rewrite incoming (E|G|K|Q|Z)LINE commands from 2.0 servers into ADDLIN...
attilamolnar [Wed, 12 Jun 2013 19:43:14 +0000 (21:43 +0200)]
m_spanningtree Rewrite incoming (E|G|K|Q|Z)LINE commands from 2.0 servers into ADDLINE/DELLINE

These commands were never documented to be usable in the server protocol but we accepted them nevertheless from servers

11 years agoGet rid of the OnRemoteKill hook, make use of GetRouting() and TR_CUSTOM to route...
attilamolnar [Wed, 12 Jun 2013 19:22:37 +0000 (21:22 +0200)]
Get rid of the OnRemoteKill hook, make use of GetRouting() and TR_CUSTOM to route KILLs

11 years agoImplement GetRouting() in core commands that require it, remove ugly workaround from...
attilamolnar [Wed, 12 Jun 2013 19:10:30 +0000 (21:10 +0200)]
Implement GetRouting() in core commands that require it, remove ugly workaround from spanningtree RouteCommand()

11 years agom_callerid Route ACCEPT to the server of the target user only, do not send METADATA...
attilamolnar [Wed, 12 Jun 2013 18:59:51 +0000 (20:59 +0200)]
m_callerid Route ACCEPT to the server of the target user only, do not send METADATA at all

ACCEPTs coming from 2.0 servers with a list of uuids are broadcast, as before

11 years agoRun the OnPostCommand hook from LoopCall()
attilamolnar [Wed, 12 Jun 2013 18:51:16 +0000 (20:51 +0200)]
Run the OnPostCommand hook from LoopCall()

11 years agoCommandParser::LoopCall() changes
attilamolnar [Wed, 12 Jun 2013 18:32:10 +0000 (20:32 +0200)]
CommandParser::LoopCall() changes

- Change function to be static, return a bool
- Do not filter duplicates when there are 2 lists (JOIN)
- Remove validation of 'extra' parameter, caller must pass either a valid index or -1

11 years agoChange command name parameter of OnPostCommand to be a Command*
attilamolnar [Wed, 12 Jun 2013 18:08:22 +0000 (20:08 +0200)]
Change command name parameter of OnPostCommand to be a Command*

11 years agoSimplify stringjoiner: take 1 parameter, join from begin() to end() and use space...
attilamolnar [Wed, 12 Jun 2013 17:30:15 +0000 (19:30 +0200)]
Simplify stringjoiner: take 1 parameter, join from begin() to end() and use space as the sep char

11 years agom_banredirect Fix modestack usage
attilamolnar [Wed, 12 Jun 2013 17:24:30 +0000 (19:24 +0200)]
m_banredirect Fix modestack usage

11 years agoUnite cmd_privmsg and cmd_notice
attilamolnar [Wed, 12 Jun 2013 17:22:50 +0000 (19:22 +0200)]
Unite cmd_privmsg and cmd_notice

11 years agoBuild with multiple processes on Windows (/MP)
attilamolnar [Mon, 10 Jun 2013 22:33:31 +0000 (00:33 +0200)]
Build with multiple processes on Windows (/MP)

11 years agoAdded m_repeat - Allows for blocking of similiar messages
Daniel Vassdal [Thu, 25 Apr 2013 11:36:48 +0000 (13:36 +0200)]
Added m_repeat - Allows for blocking of similiar messages

Changes to the original module:
- Parse settings using a sepstream, accept remote mode changes regardless of our config
- Refuse to link when config settings differ
- Style changes

All ideas and features are the brainchild and work of Daniel Vassdal

11 years agoRemove deprecated Request cross-module communication mechanism
attilamolnar [Fri, 24 May 2013 17:34:25 +0000 (19:34 +0200)]
Remove deprecated Request cross-module communication mechanism

11 years agoChange the API of m_httpd to be dynamic_reference-based
attilamolnar [Fri, 24 May 2013 17:34:25 +0000 (19:34 +0200)]
Change the API of m_httpd to be dynamic_reference-based

11 years agoChange the API of m_sslinfo to be dynamic_reference-based
attilamolnar [Fri, 24 May 2013 17:34:25 +0000 (19:34 +0200)]
Change the API of m_sslinfo to be dynamic_reference-based

11 years agoCreate SSLIOHook interface that provides GetCertificate()
attilamolnar [Fri, 24 May 2013 17:34:25 +0000 (19:34 +0200)]
Create SSLIOHook interface that provides GetCertificate()

11 years agoCreate IOHook interface (extracted from Module)
attilamolnar [Fri, 24 May 2013 17:34:25 +0000 (19:34 +0200)]
Create IOHook interface (extracted from Module)

11 years agoMove code between usermanager.(cpp|h), clarify comments
attilamolnar [Thu, 6 Jun 2013 01:15:50 +0000 (03:15 +0200)]
Move code between usermanager.(cpp|h), clarify comments

Initialize clientlist and uuidlist in UserManager constructor

11 years agoMove DoBackgroundUserStuff() and AllModulesReportReady() into UserManager
attilamolnar [Thu, 6 Jun 2013 01:13:55 +0000 (03:13 +0200)]
Move DoBackgroundUserStuff() and AllModulesReportReady() into UserManager

11 years agoStore prefix rank in a ModeHandler field, change ModeHandler::GetPrefixRank() to...
attilamolnar [Thu, 6 Jun 2013 01:10:10 +0000 (03:10 +0200)]
Store prefix rank in a ModeHandler field, change ModeHandler::GetPrefixRank() to be non-virtual

11 years agoFix Windows
attilamolnar [Thu, 6 Jun 2013 01:09:41 +0000 (03:09 +0200)]
Fix Windows

11 years agoMerge pull request #544 from SaberUK/master+kill-maxbuf
Attila Molnar [Thu, 6 Jun 2013 00:52:39 +0000 (17:52 -0700)]
Merge pull request #544 from SaberUK/master+kill-maxbuf

Purge MAXBUF in favour of a configuration option.

11 years agoRemove hardcoded MAXBUF constant.
Peter Powell [Wed, 22 May 2013 21:18:02 +0000 (22:18 +0100)]
Remove hardcoded MAXBUF constant.

11 years agoConvert a ton of uses of MAXBUF to use a fixed buffer size.
Peter Powell [Wed, 22 May 2013 20:18:50 +0000 (21:18 +0100)]
Convert a ton of uses of MAXBUF to use a fixed buffer size.

11 years agoConvert User::SendText to use std::string.
Peter Powell [Mon, 20 May 2013 19:15:50 +0000 (20:15 +0100)]
Convert User::SendText to use std::string.

11 years agoConvert User::FormatNoticeMasks() to use std::string.
Peter Powell [Mon, 20 May 2013 18:25:46 +0000 (19:25 +0100)]
Convert User::FormatNoticeMasks() to use std::string.

11 years agoConvert ConvNumeric() to use std::string instead of char[MAXBUF].
Peter Powell [Sun, 19 May 2013 01:53:32 +0000 (02:53 +0100)]
Convert ConvNumeric() to use std::string instead of char[MAXBUF].

11 years agoRewrite irc::sockets::sockaddrs::str() completely.
Peter Powell [Sun, 19 May 2013 01:35:17 +0000 (02:35 +0100)]
Rewrite irc::sockets::sockaddrs::str() completely.

- Replace use of MAXBUF with INET_ADDRSTRLEN/INET6_ADDRSTRLEN.
- Replace use of sprintf with InspIRCd::Format.

11 years agoReplace some C string operations with the + operator.
Peter Powell [Sat, 18 May 2013 17:40:55 +0000 (18:40 +0100)]
Replace some C string operations with the + operator.

11 years agoUse InspIRCd::Format instead of snprintf().
Peter Powell [Sat, 18 May 2013 16:18:12 +0000 (17:18 +0100)]
Use InspIRCd::Format instead of snprintf().

11 years agoUse iostream instead of C-style file operations.
Peter Powell [Fri, 17 May 2013 01:03:16 +0000 (02:03 +0100)]
Use iostream instead of C-style file operations.

11 years agoCompare to ServerLimits::MaxLine instead of MAXBUF.
Peter Powell [Fri, 17 May 2013 00:35:04 +0000 (01:35 +0100)]
Compare to ServerLimits::MaxLine instead of MAXBUF.

11 years agoReserve ServerLimits::MaxLine instead of MAXBUF.
Peter Powell [Fri, 17 May 2013 00:34:25 +0000 (01:34 +0100)]
Reserve ServerLimits::MaxLine instead of MAXBUF.

11 years agoStart to replace MAXBUF with <limits:maxline>.
Peter Powell [Fri, 17 May 2013 00:31:32 +0000 (01:31 +0100)]
Start to replace MAXBUF with <limits:maxline>.

11 years agoMerge insp20
attilamolnar [Wed, 5 Jun 2013 23:07:22 +0000 (01:07 +0200)]
Merge insp20

11 years agoRelease 2.0.13
attilamolnar [Wed, 5 Jun 2013 21:28:45 +0000 (23:28 +0200)]
Release 2.0.13

11 years agoRemove unnecessary string copies and dead code
attilamolnar [Wed, 5 Jun 2013 21:11:50 +0000 (23:11 +0200)]
Remove unnecessary string copies and dead code

11 years agoReport the full GnuTLS version in configure
attilamolnar [Wed, 5 Jun 2013 20:40:09 +0000 (22:40 +0200)]
Report the full GnuTLS version in configure

Fix incorrect version being reported when the minor version is longer than one digit (2.10.x)

11 years agom_spanningtree Fix FIDENT routing
attilamolnar [Tue, 4 Jun 2013 20:16:15 +0000 (22:16 +0200)]
m_spanningtree Fix FIDENT routing

A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic

11 years agoFix inet_pton on Windows with IPv6 addresses
attilamolnar [Tue, 4 Jun 2013 19:43:29 +0000 (21:43 +0200)]
Fix inet_pton on Windows with IPv6 addresses

Code from Anope win32/socket.cpp by @Adam-

11 years agom_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5d
attilamolnar [Tue, 4 Jun 2013 19:38:03 +0000 (21:38 +0200)]
m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5d

11 years agoRefactor Channel::UserList() to use std::string
attilamolnar [Wed, 22 May 2013 20:44:10 +0000 (22:44 +0200)]
Refactor Channel::UserList() to use std::string

11 years agoRemove the now unused Channel::RemoveAllPrefixes() and CountInvisible()
attilamolnar [Sun, 2 Jun 2013 17:58:23 +0000 (19:58 +0200)]
Remove the now unused Channel::RemoveAllPrefixes() and CountInvisible()

11 years agoReduce User* -> Membership* lookups on part and kick
attilamolnar [Sun, 2 Jun 2013 17:55:07 +0000 (19:55 +0200)]
Reduce User* -> Membership* lookups on part and kick

11 years agoChannel::KickUser() and cmd_kick changes
attilamolnar [Sun, 2 Jun 2013 17:30:55 +0000 (19:30 +0200)]
Channel::KickUser() and cmd_kick changes

- Remove uline checks from KickUser()
- Disallow the kick if done by a local user and the victim is ulined in cmd_kick
- Remove call to RemoveAllPrefixes() as it has no additional effect, the Membership object containing the prefixes is destroyed soon after the call

11 years agoRemove NULL checks from various Channel functions
attilamolnar [Sun, 2 Jun 2013 17:10:05 +0000 (19:10 +0200)]
Remove NULL checks from various Channel functions

Passing NULL to these functions are not permitted and must be avoided by the caller

11 years agoAdded option for using TCP_DEFER_ACCEPT. Prevents the connection from being handed...
Daniel Vassdal [Wed, 22 May 2013 19:48:58 +0000 (12:48 -0700)]
Added option for using TCP_DEFER_ACCEPT. Prevents the connection from being handed over to the daemon before data is ready from the client.

11 years agoRoute WALLOPS like a regular command, remove OnWallops hook
attilamolnar [Sun, 2 Jun 2013 16:05:01 +0000 (18:05 +0200)]
Route WALLOPS like a regular command, remove OnWallops hook

11 years agoMerge pull request #550 from Adam-/master+sepstream
Adam [Sun, 2 Jun 2013 02:05:51 +0000 (19:05 -0700)]
Merge pull request #550 from Adam-/master+sepstream

Rewrote sepstream and tokenstream to be less ugly

11 years agos/seperator/separator/g
Adam [Sun, 26 May 2013 22:51:01 +0000 (18:51 -0400)]
s/seperator/separator/g

11 years agoRewrote sepstream and tokenstream to be less ugly
Adam [Sun, 26 May 2013 22:24:53 +0000 (18:24 -0400)]
Rewrote sepstream and tokenstream to be less ugly

11 years agoISupportManager: Tidy-up, expand comments
attilamolnar [Sat, 1 Jun 2013 22:34:15 +0000 (00:34 +0200)]
ISupportManager: Tidy-up, expand comments

11 years agoMove a few trivial functions into headers
attilamolnar [Sat, 1 Jun 2013 22:28:55 +0000 (00:28 +0200)]
Move a few trivial functions into headers

11 years agom_devoice Remove FindChan() and HasUser() checks, these are done when parsing the...
attilamolnar [Sat, 1 Jun 2013 22:16:01 +0000 (00:16 +0200)]
m_devoice Remove FindChan() and HasUser() checks, these are done when parsing the mode change

11 years agoWatch mode names with ModeWatchers instead of mode letters
attilamolnar [Sun, 26 May 2013 20:40:45 +0000 (22:40 +0200)]
Watch mode names with ModeWatchers instead of mode letters

11 years agoRemove useless ModeType parameter from ModeWatcher::BeforeMode() and AfterMode()
attilamolnar [Sun, 26 May 2013 20:35:32 +0000 (22:35 +0200)]
Remove useless ModeType parameter from ModeWatcher::BeforeMode() and AfterMode()

11 years agoRemove #define MAXPARAMETERS and "MAXPARA" 005 token
attilamolnar [Sat, 1 Jun 2013 21:00:55 +0000 (23:00 +0200)]
Remove #define MAXPARAMETERS and "MAXPARA" 005 token

11 years agoCommandParser::ProcessCommand() and ProcessBuffer() cleanup
attilamolnar [Sat, 1 Jun 2013 20:57:59 +0000 (22:57 +0200)]
CommandParser::ProcessCommand() and ProcessBuffer() cleanup

- Change return types to void
- Use a pointer to the command handler instead of an iterator

11 years agoImprove command parser logic when there are more params than Command::max_params
attilamolnar [Sat, 1 Jun 2013 20:55:37 +0000 (22:55 +0200)]
Improve command parser logic when there are more params than Command::max_params

11 years agoRemove (non-functional) total_bytes counter from Command
attilamolnar [Sat, 1 Jun 2013 20:52:02 +0000 (22:52 +0200)]
Remove (non-functional) total_bytes counter from Command

11 years agoMerge pull request #551 from SaberUK/master+unused-configure
Attila Molnar [Sat, 1 Jun 2013 19:53:25 +0000 (12:53 -0700)]
Merge pull request #551 from SaberUK/master+unused-configure

Remove unused code from configure.

11 years agoRemove unused code from configure.
Peter Powell [Sat, 1 Jun 2013 19:15:17 +0000 (20:15 +0100)]
Remove unused code from configure.

11 years agocmd_who Hide +i users when listing users on a server and hidewhois is off
attilamolnar [Sat, 1 Jun 2013 18:53:45 +0000 (20:53 +0200)]
cmd_who Hide +i users when listing users on a server and hidewhois is off

Fixes #547 reported by @RawrDragon

11 years agom_mysql Fix escaping strings longer than MAXBUF/2
attilamolnar [Sat, 1 Jun 2013 18:53:32 +0000 (20:53 +0200)]
m_mysql Fix escaping strings longer than MAXBUF/2

Quotes from the documentation:
"You must allocate the to buffer to be at least length*2+1 bytes long. (In the worst case, each character may need to be encoded as using two bytes, and you need room for the terminating null byte.)"

"The return value is the length of the encoded string, not including the terminating null character."

http://dev.mysql.com/doc/refman/5.6/en/mysql-real-escape-string.html

11 years agom_userip Allow querying own IP for non-opers, require the users/auspex priv for opers...
attilamolnar [Thu, 16 May 2013 17:49:56 +0000 (19:49 +0200)]
m_userip Allow querying own IP for non-opers, require the users/auspex priv for opers to query the IP of others

Issue #513 suggested by @CuleX

11 years agoSimplify user mode removal via ModeHandler::RemoveMode()
attilamolnar [Sun, 26 May 2013 21:23:47 +0000 (23:23 +0200)]
Simplify user mode removal via ModeHandler::RemoveMode()

The function does not need to be virtual because the core can remove any user mode using the default logic
The optional modestack parameter was always NULL, so remove it

11 years agoDeduplicate RemoveMode() implementations
attilamolnar [Sun, 26 May 2013 21:23:47 +0000 (23:23 +0200)]
Deduplicate RemoveMode() implementations

The default (core) implementation can now remove prefix modes
The modestacker parameter is now mandatory

11 years agoClean up the FileReader class and all of the modules that use it.
Peter Powell [Fri, 17 May 2013 04:46:51 +0000 (05:46 +0100)]
Clean up the FileReader class and all of the modules that use it.

- Modules which use this class will now have to catch a
  CoreException when opening files if they wish to ignore
  the failed loading of a file.
- m_randquote has been cleaned up massively and the RANDQUOTE
  command has been removed as it was pretty much useless.

11 years agoLogManager cleanup
attilamolnar [Fri, 24 May 2013 16:38:55 +0000 (18:38 +0200)]
LogManager cleanup

11 years agoCache mode list that is sent in the 004 numeric
attilamolnar [Fri, 24 May 2013 16:22:25 +0000 (18:22 +0200)]
Cache mode list that is sent in the 004 numeric

Deduplicate UserModeList(), ChannelModeList() and ParaModeList() code

11 years agoRemove dead ModeParser code
attilamolnar [Fri, 24 May 2013 16:20:58 +0000 (18:20 +0200)]
Remove dead ModeParser code

11 years agom_nicklock Fix wrong hook in SetPriority()
attilamolnar [Thu, 23 May 2013 18:19:16 +0000 (20:19 +0200)]
m_nicklock Fix wrong hook in SetPriority()

11 years agoUpdate authors
attilamolnar [Thu, 23 May 2013 18:12:09 +0000 (20:12 +0200)]
Update authors

11 years agoAdd a va_copy define for Windows
Adam [Thu, 23 May 2013 17:26:11 +0000 (13:26 -0400)]
Add a va_copy define for Windows

11 years agoSome systems with whacky va_list implementations do undefined stuff when vsnprintf...
Adam [Thu, 23 May 2013 17:19:12 +0000 (13:19 -0400)]
Some systems with whacky va_list implementations do undefined stuff when vsnprintf is called multiple times with the same list, so have InspIRCd::Format va_copy the list before each call

11 years agoChange CacheRefreshTimer tick time back to 5 minutes
Adam [Thu, 23 May 2013 16:22:54 +0000 (12:22 -0400)]
Change CacheRefreshTimer tick time back to 5 minutes

11 years agom_mysql Fix crash on rehash when the database tags have been changed in the config
attilamolnar [Wed, 22 May 2013 20:29:15 +0000 (22:29 +0200)]
m_mysql Fix crash on rehash when the database tags have been changed in the config

11 years agoMerge pull request #545 from SaberUK/master+logging-cleanup
Attila Molnar [Wed, 22 May 2013 00:11:46 +0000 (17:11 -0700)]
Merge pull request #545 from SaberUK/master+logging-cleanup

Clean up the logging system (part 1 of 2).

11 years agoMerge pull request #522 from SaberUK/master+xline-displayable
Attila Molnar [Wed, 22 May 2013 00:09:56 +0000 (17:09 -0700)]
Merge pull request #522 from SaberUK/master+xline-displayable

Convert XLine::Displayable to return a std::string.

11 years agoConvert XLine::Displayable to return a std::string.
Peter Powell [Sun, 5 May 2013 18:36:46 +0000 (19:36 +0100)]
Convert XLine::Displayable to return a std::string.

11 years agoFix msvc detection of variadic template support
Peter Powell [Tue, 21 May 2013 03:51:45 +0000 (23:51 -0400)]
Fix msvc detection of variadic template support

11 years agoMerge pull request #548 from SaberUK/master+variadic-templates
Adam [Tue, 21 May 2013 01:55:49 +0000 (18:55 -0700)]
Merge pull request #548 from SaberUK/master+variadic-templates

Add support for detecting C++11 variadic templates.

11 years agoAdd support for detecting C++11 variadic templates.
Peter Powell [Tue, 21 May 2013 01:34:10 +0000 (02:34 +0100)]
Add support for detecting C++11 variadic templates.

11 years agoRemove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to OnUserMess...
attilamolnar [Thu, 16 May 2013 14:33:16 +0000 (16:33 +0200)]
Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to OnUserMessage and OnUserPreMessage

All modules (except m_nonotice) that perform filtering on messages have common logic for handling PRIVMSGs and NOTICEs and most of them run the exact same code in both cases

11 years agoFixup last commit
Adam [Mon, 20 May 2013 18:20:08 +0000 (14:20 -0400)]
Fixup last commit

11 years agoMerge pull request #542 from ShutterQuick/inspircd+printfcleanup
Attila Molnar [Mon, 20 May 2013 18:05:05 +0000 (11:05 -0700)]
Merge pull request #542 from ShutterQuick/inspircd+printfcleanup

Replaced all the individual vsnprintfing with a macro

11 years agoFix spacing in calls to LogManager::Log.
Peter Powell [Sun, 19 May 2013 02:29:49 +0000 (03:29 +0100)]
Fix spacing in calls to LogManager::Log.