summaryrefslogtreecommitdiff
path: root/irc/session.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtz.pm>2021-09-11 19:29:20 +0200
committerHubert Hirtz <hubert@hirtz.pm>2021-09-11 19:29:20 +0200
commit75349a86ba872e8bd88f6a7ce625b2b6ca81c893 (patch)
treecdb89e1f4b6fcf55b6e026d1a22dca6a20a2ee75 /irc/session.go
parentFix line wrapping not working on history (diff)
Fix typos
Diffstat (limited to 'irc/session.go')
-rw-r--r--irc/session.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/irc/session.go b/irc/session.go
index 9f00dee..d4eec21 100644
--- a/irc/session.go
+++ b/irc/session.go
@@ -88,7 +88,7 @@ type Channel struct {
TopicTime time.Time // the last time the topic has been changed.
Secret bool // whether the channel is on the server channel list.
- complete bool // whether this stucture is fully initialized.
+ complete bool // whether this structure is fully initialized.
}
// SessionParams defines how to connect to an IRC server.
@@ -174,7 +174,7 @@ func (s *Session) Close() {
close(s.out)
}
-// HasCapability reports whether the given capability has been negociated
+// HasCapability reports whether the given capability has been negotiated
// successfully.
func (s *Session) HasCapability(capability string) bool {
_, ok := s.enabledCaps[capability]