diff options
author | June McEnroe <june@causal.agency> | 2020-04-05 10:45:17 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-05 10:45:17 -0400 |
commit | a8c5d13cb21ef08f7d2b5a718b5c93113dfc6448 (patch) | |
tree | dc3b606b12ebb467cd8bd464f5ee47ec463130c5 /litterbox.c | |
parent | Update style (diff) | |
download | litterbox-a8c5d13cb21ef08f7d2b5a718b5c93113dfc6448.tar.gz litterbox-a8c5d13cb21ef08f7d2b5a718b5c93113dfc6448.zip |
Add Ban and Unban event types
Diffstat (limited to 'litterbox.c')
-rw-r--r-- | litterbox.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/litterbox.c b/litterbox.c index 14dd626..d0cafef 100644 --- a/litterbox.c +++ b/litterbox.c @@ -304,6 +304,10 @@ static void querySearch(struct Message *msg) { "\3%02d%s\3 set the topic: %s\r\n", color(user), nick, message ); + break; case Ban: + format("\3%02d%s\3 banned %s\r\n", color(user), nick, target); + break; case Unban: + format("\3%02d%s\3 unbanned %s\r\n", color(user), nick, target); } } if (result != SQLITE_DONE) { |