summaryrefslogtreecommitdiff
path: root/irc/events.go
diff options
context:
space:
mode:
authordelthas <delthas@dille.cc>2021-07-13 19:26:24 +0200
committerHubert Hirtz <hubert@hirtz.pm>2021-07-13 21:38:53 +0200
commit93005741f2fa5c16bed3d7bc325c7d09a6a507da (patch)
tree2373fbf66cc6987ab7f3c6f1a1f4b0238fea9049 /irc/events.go
parentClear the input on CTRL+C instead of quitting (diff)
Switch to the buffer of a new user-requested channel join
Diffstat (limited to 'irc/events.go')
-rw-r--r--irc/events.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/irc/events.go b/irc/events.go
index bdd6914..0451a80 100644
--- a/irc/events.go
+++ b/irc/events.go
@@ -22,7 +22,8 @@ type UserNickEvent struct {
}
type SelfJoinEvent struct {
- Channel string
+ Channel string
+ Requested bool // whether we recently requested to join that channel
}
type UserJoinEvent struct {