Skip to content

Commit

Permalink
cmd/argument.go: Fixed missing doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandertv committed Dec 22, 2024
1 parent 53b0738 commit f188322
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/cmd/argument.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ type Line struct {
src Source
}

// SyntaxError returns a translated syntax error.
func (line *Line) SyntaxError() error {
if len(line.args) == 0 {
return chat.MessageCommandSyntax.F(line.seen, "", "")
Expand Down

0 comments on commit f188322

Please sign in to comment.