Skip to content

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

License

Notifications You must be signed in to change notification settings

chat-apropo/Unrealircd-History-Logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

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

Configuring

Add this to your unrealircd.conf:

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!

About

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

Topics

Resources

License

Stars

Watchers

Forks