summaryrefslogtreecommitdiff
path: root/commands.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtz.pm>2021-09-13 14:10:09 +0200
committerHubert Hirtz <hubert@hirtz.pm>2021-09-13 14:10:09 +0200
commit2eaf8b69e82603093b56ace5fdedbdc0249e77a0 (patch)
tree22ecc819dd52808dae66eb4017618df6877e2de9 /commands.go
parentRandom code improvements/tidying (diff)
More lints
Diffstat (limited to 'commands.go')
-rw-r--r--commands.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands.go b/commands.go
index 78cb780..bc6a2c7 100644
--- a/commands.go
+++ b/commands.go
@@ -296,9 +296,9 @@ func commandDoNick(app *App, buffer string, args []string) (err error) {
func commandDoMode(app *App, buffer string, args []string) (err error) {
channel := args[0]
flags := args[1]
- mode_args := args[2:]
+ modeArgs := args[2:]
- app.s.ChangeMode(channel, flags, mode_args)
+ app.s.ChangeMode(channel, flags, modeArgs)
return
}