From b13e7bfb0b875e199ea57e699f683fa46232c78c Mon Sep 17 00:00:00 2001 From: raylu Date: Thu, 21 Jul 2011 23:16:17 -0700 Subject: [PATCH] remove trailing whitespace --- client/commands.go | 2 +- client/connection.go | 2 +- client/handlers.go | 2 +- client/nickchan.go | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/commands.go b/client/commands.go index 0eaaead..00696b6 100644 --- a/client/commands.go +++ b/client/commands.go @@ -9,7 +9,7 @@ import "strings" // the symbol table and add methods/functions on the fly // [ CMD, FMT, FMTARGS ] etc. -// Raw() sends a raw line to the server, should really only be used for +// Raw() sends a raw line to the server, should really only be used for // debugging purposes but may well come in handy. func (conn *Conn) Raw(rawline string) { conn.out <- rawline } diff --git a/client/connection.go b/client/connection.go index 73706f3..a0d2e42 100644 --- a/client/connection.go +++ b/client/connection.go @@ -263,7 +263,7 @@ func (conn *Conn) shutdown() { } // Dumps a load of information about the current state of the connection to a -// string for debugging state tracking and other such things. +// string for debugging state tracking and other such things. func (conn *Conn) String() string { str := "GoIRC Connection\n" str += "----------------\n\n" diff --git a/client/handlers.go b/client/handlers.go index f6f0f8b..b266c71 100644 --- a/client/handlers.go +++ b/client/handlers.go @@ -16,7 +16,7 @@ import "strings" // "name" being equivalent to Line.Cmd. Read the RFCs for details on what // replies could come from the server. They'll generally be things like // "PRIVMSG", "JOIN", etc. but all the numeric replies are left as ascii -// strings of digits like "332" (mainly because I really didn't feel like +// strings of digits like "332" (mainly because I really didn't feel like // putting massive constant tables in). func (conn *Conn) AddHandler(name string, f func(*Conn, *Line)) { n := strings.ToUpper(name) diff --git a/client/nickchan.go b/client/nickchan.go index 8d8996e..0f58298 100644 --- a/client/nickchan.go +++ b/client/nickchan.go @@ -183,7 +183,7 @@ func (conn *Conn) ParseChannelModes(ch *Channel, modes string, modeargs []string } } -// Parse mode strings for a nick +// Parse mode strings for a nick func (conn *Conn) ParseNickModes(n *Nick, modes string) { var modeop bool // true => add mode, false => remove mode for i := 0; i < len(modes); i++ { @@ -276,7 +276,7 @@ func (n *Nick) initialise() { // // Very slightly different to irc.Channel.AddNick() in that it tests for a // pre-existing association within the *irc.Nick object rather than the -// *irc.Channel object before associating the two. +// *irc.Channel object before associating the two. func (n *Nick) AddChannel(ch *Channel) { if _, ok := n.Channels[ch]; !ok { ch.Nicks[n] = new(ChanPrivs)