mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
reg: Rename commands to match
This commit is contained in:
parent
fd793d6adb
commit
ff82872934
3 changed files with 31 additions and 31 deletions
|
|
@ -56,6 +56,10 @@ func (cmd *Command) Run(server *Server, client *Client, msg ircmsg.IrcMessage) b
|
|||
|
||||
// Commands holds all commands executable by a client connected to us.
|
||||
var Commands = map[string]Command{
|
||||
"ACC": {
|
||||
handler: accHandler,
|
||||
minParams: 3,
|
||||
},
|
||||
"AMBIANCE": {
|
||||
handler: sceneHandler,
|
||||
minParams: 2,
|
||||
|
|
@ -227,10 +231,6 @@ var Commands = map[string]Command{
|
|||
usablePreReg: true,
|
||||
minParams: 0,
|
||||
},
|
||||
"REG": {
|
||||
handler: regHandler,
|
||||
minParams: 3,
|
||||
},
|
||||
"REHASH": {
|
||||
handler: rehashHandler,
|
||||
minParams: 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue