aboutsummaryrefslogtreecommitdiff
path: root/ui/command-processor.go
diff options
context:
space:
mode:
authorPascal Abresch <neplevitan@packageloss.eu>2019-03-19 16:06:40 +0100
committerPascal Abresch <neplevitan@packageloss.eu>2019-03-19 16:06:40 +0100
commitcefa840c28067e33bf67dd65aa267779cdeae34e (patch)
treec3c371a4033a85faaed0524c779aef66f60784bf /ui/command-processor.go
parentc5bf3f894c4efad71757f0d64ec128c01cdc5805 (diff)
adds kick, ban, unban and invite command
Diffstat (limited to 'ui/command-processor.go')
-rw-r--r--ui/command-processor.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/command-processor.go b/ui/command-processor.go
index b18f950..77a7b3d 100644
--- a/ui/command-processor.go
+++ b/ui/command-processor.go
@@ -91,6 +91,9 @@ func NewCommandProcessor(parent *MainView) *CommandProcessor {
"clearcache": cmdClearCache,
"leave": cmdLeave,
"join": cmdJoin,
+ "kick": cmdKick,
+ "ban": cmdBan,
+ "unban": cmdUnban,
"toggle": cmdToggle,
"logout": cmdLogout,
"sendevent": cmdSendEvent,
@@ -98,6 +101,7 @@ func NewCommandProcessor(parent *MainView) *CommandProcessor {
"setstate": cmdSetState,
"msetstate": cmdMSetState,
"rainbow": cmdRainbow,
+ "invite": cmdInvite,
},
}
}