Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.03 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.03 KB

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!