summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'app.go')
-rw-r--r--app.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.go b/app.go
index 350f735..29941d5 100644
--- a/app.go
+++ b/app.go
@@ -119,6 +119,7 @@ func (app *App) handleIRCEvent(ev irc.Event) {
app.win.AddLine(ui.Home, ui.NewLine(ev.Time, "--", line, true, false))
case irc.SelfJoinEvent:
app.win.AddBuffer(ev.Channel)
+ app.s.RequestHistory(ev.Channel, time.Now())
case irc.UserJoinEvent:
line := fmt.Sprintf("\x033+\x0314%s\x03", ev.Nick)
app.win.AddLine(ev.Channel, ui.NewLine(ev.Time, "--", line, true, false))