diff --git a/contrib/backends/srndv2/src/srnd/attachment.go b/contrib/backends/srndv2/src/srnd/attachment.go index ad95bdb..3d8372e 100644 --- a/contrib/backends/srndv2/src/srnd/attachment.go +++ b/contrib/backends/srndv2/src/srnd/attachment.go @@ -122,7 +122,7 @@ func (self *nntpAttachment) Save(dir string) (err error) { fpath := filepath.Join(dir, self.filepath) if !CheckFile(fpath) { var f io.WriteCloser - // does not exist so will will write it + // does not exist so will write it f, err = os.Create(fpath) if err == nil { _, err = f.Write(self.Bytes()) diff --git a/contrib/js/nntpchan/livechan.js b/contrib/js/nntpchan/livechan.js index 9a1b802..2329060 100644 --- a/contrib/js/nntpchan/livechan.js +++ b/contrib/js/nntpchan/livechan.js @@ -497,7 +497,7 @@ Connection.prototype.onclose = function(callback) { /* @brief Initializes the websocket connection. * * @param channel The channel to open a connection to. - * @return A connection the the websocket. + * @return A connection the websocket. */ function initWebSocket(chat, url, connection) { var ws = null;