Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chat-apropo/unrealircd-history-logger

A unrealircd module that provides a per user and per channel message history backlog
https://github.com/chat-apropo/unrealircd-history-logger

backlog chat log unrealircd

Last synced: 9 days ago
JSON representation

A unrealircd module that provides a per user and per channel message history backlog

Awesome Lists containing this project

README

        

# Work in progress

# Chat History logger

Per user chat history. Only retrieve the history of what you missed in certain channel. Only allow registered users to have this feature. This module will store the history in a separated database.

## Building

Copy `loggerhistory.c` into unrealircd's `src/module/thirdy/loggerhistory.c` and build it with something like:

```bash
make && make install && chown -R irc /home/irc/unrealircd
```

## Configuring

Add this to your unrealircd.conf:

```config
loadmodule "third/loggerhistory";

set {
histlogger {
whitelist {}; /* If set to any will only allow these channels to have hisotry */
blacklist {}; /* If set to any those channels wont have any history */
dbpath "/home/irc/histlog.db"; /* Database to store messages and other info for the module */
regonly 1; /* Allow registered users only to use this feature */
maxlength 1000; /* Max backlog size to send to a client */
}
}

```

Then run `/rehash` as an oper on the irc server. No need for restart!