Fixed wrong messages placeholders
This commit is contained in:
+2
-2
@@ -23,7 +23,7 @@ namespace eval cmgmt {
|
||||
# Command to upload the file
|
||||
# The ban list file is piped into the command via stdin (with `cat $filename |`)
|
||||
# so your command must read from stdin
|
||||
variable upCommand "curl -s -F file=@- https://hotpaste.0bin.xyz/"
|
||||
variable upCommand "curl -s -F file=@- https://x0.at/"
|
||||
|
||||
# Set the banmask type to use in banning the user
|
||||
# Available types are:
|
||||
@@ -529,7 +529,7 @@ namespace eval cmgmt {
|
||||
set banmask [lindex [split $text] 1]
|
||||
|
||||
if {$banmask eq ""} {
|
||||
putserv "PRIVMSG $chan :[format [::msgcat::mc error.syntax] $::cmgmt::trigger]addban <#chan> <banmask>"
|
||||
putserv "PRIVMSG $chan :[::msgcat::mc pm.error.syntax] addban <#chan> <banmask>"
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user