Skip to content

dsmithbbc/inspircd-m_chatlog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

The Channel Chat Logging module is a third-party InpsIRCd module that logs all user messages as well as channel joins, parts, and quits. It logs with a type of m_chatlog to make it easy to filter to a separate log file.

Credit

The original module was written by Daniel Rich [email protected] and forked on github by Josh Enders [email protected] and then by David Smith [email protected]

See: http://www.inspircd.org/forum/showthread.php?t=5592 (Dead link)

Building in Docker

If you would prefer to not install the required build-tools, you can build this module in a docker image, extract it from a container and then delete the image. A Dockerfile and simple bash script is provided. Simply run

./build_in_docker.sh

Building Natively

This module has been successfully built against InspIRCd v3.14.0.

Clone the latest version of InspIRCd from the repository

git clone [email protected]:inspircd/inspircd.git && pushd inspircd

Create a local branch and checkout into the new branch

git checkout -b v3.14.0 v3.14.0

Download the module

wget -O src/modules/extra/m_chatlog.cpp https://raw.githubusercontent.com/dsmithbbc/inspircd-m_chatlog/master/m_chatlog.cpp

Enable the module

./configure --enable-extras=m_chatlog.cpp

Configure

./configure

Build and install

make && make install

Configuration

The following lines should be appended to /etc/inspircd/modules.conf

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Chat log module: Logs all chats to the ircd log at default loglevel.
<module name="m_chatlog.so">

#-#-#-#-#-#-#-#-#-# CHATLOG CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#-#
# There may be certain nicks that you do not want logged for security
# reasons. Exceptions can be added below.
#<chatlog exception="nickserv">
#<chatlog exception="chanserv">

About

InspIRCd Logging module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 74.5%
  • Dockerfile 13.6%
  • Shell 11.9%