diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-05-19 18:37:27 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-05-19 18:37:27 +0100 |
commit | f767fc29fb0c192d20308a09aaa18918ac8a0875 (patch) | |
tree | 0d207d9dfe0c6474bb2f707342a6fe10500144c6 /logging.h | |
parent | a5880d645c2bbf8dfae6daabb1d3c3c66e3c310b (diff) |
Enable logging of TOPIC changes.
Diffstat (limited to 'logging.h')
-rw-r--r-- | logging.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -18,6 +18,7 @@ #define SOURCE_CLIENT 1 #define LOG_PRIVMSG 0 #define LOG_JOINPART 1 +#define LOG_TOPIC 2 // Write the line 'str' to the relevant log file such as // '#channel.log' or 'nickname.log'. 'ournick' is our own @@ -29,11 +30,13 @@ // If LOG_PRIVMSG then it expects a string in the format: // :from!bar@baz PRIVMSG to :hello world // -// If LOG_JOINPART then -// Expects a string in the format: -// :nick!bar@baz JOIN :#blabouncer +// If LOG_JOINPART then it expects a string in the format: +// :nick!bar@baz JOIN :#channel // or -// :nick!bar@baz PART #blabouncer +// :nick!bar@baz PART #channel +// +// If LOG_TOPIC then it expects a string in the format: +// :nick!bar@baz TOPIC #channel :bla bla bla // // With the ":foo!bar@baz "prefix being important for either // type. |