Skip to content

Commit

Permalink
Merge pull request #39 from Zarthus/log_own_quitting
Browse files Browse the repository at this point in the history
Do log own quitting
  • Loading branch information
zachbr committed Oct 17, 2019
2 parents 987ee82 + 64244a5 commit de08278
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ class IrcJoinQuitListener(private val pier: IrcPier) {

@Handler
fun onUserQuit(event: UserQuitEvent) {
// don't log our own quitting
if (event.user.nick == pier.getBotNick()) {
return
}

val receiveTimestamp = System.nanoTime()
val sender = BOT_SENDER
val msgContent = "${event.user.nick} (${event.user.userString}@${event.user.host}) has quit"
Expand Down

0 comments on commit de08278

Please sign in to comment.