chore: remove redundant words in comment

Signed-off-by: growfrow <growfrow@outlook.com>
This commit is contained in:
growfrow
2025-03-17 00:48:27 +08:00
parent ed15a54980
commit 1d44337dfd
2 changed files with 2 additions and 2 deletions
@@ -122,7 +122,7 @@ func (self *nntpAttachment) Save(dir string) (err error) {
fpath := filepath.Join(dir, self.filepath) fpath := filepath.Join(dir, self.filepath)
if !CheckFile(fpath) { if !CheckFile(fpath) {
var f io.WriteCloser var f io.WriteCloser
// does not exist so will will write it // does not exist so will write it
f, err = os.Create(fpath) f, err = os.Create(fpath)
if err == nil { if err == nil {
_, err = f.Write(self.Bytes()) _, err = f.Write(self.Bytes())
+1 -1
View File
@@ -497,7 +497,7 @@ Connection.prototype.onclose = function(callback) {
/* @brief Initializes the websocket connection. /* @brief Initializes the websocket connection.
* *
* @param channel The channel to open a connection to. * @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) { function initWebSocket(chat, url, connection) {
var ws = null; var ws = null;