Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (17 sloc) 603 Bytes

ZNC OfflineMarker

A (very) simple module, which when loaded will insert a "-- MARK --" line in all channel-logs when a client disconnects.

Requires ZNC v1.0+

Compiling and installing

Run the following on the box where ZNC is installed:

$ znc-buildmod offlinemarker.cpp
$ cp offlinemarker.so ~/.zsh/modules/

Run the following from within your IRC program, which should be connected to ZNC:

/msg *status loadmod offlinemarker

That's it.

Bugs/TODO

  • Configurable mark-message
  • Don't log until all clients have disconnected

License

This project is licensed under the MIT license.