Skip to content

Commit 12fa852

Browse files
committed
Minor code cleanup
1 parent 2348ef0 commit 12fa852

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

client/commands.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ func (s *Server) handleCommand(input string, channel string) *utils.Message {
145145
message.Parameters = append(message.Parameters, parts[2])
146146
}
147147

148-
case "/part":
148+
case "/part",
149+
"/leave":
149150
if paramCount < 1 {
150151
s.invalidCommandParameters("/part <channel>{,<channel>} [<reason>]")
151152
return nil
File renamed without changes.

0 commit comments

Comments
 (0)