# HG changeset patch # User Matti Hamalainen # Date 1572355127 -7200 # Node ID 57443894bd8eba03aa26f6d713c177bb7c3168ab # Parent 0e50c8440ea218aa326755665b62fb5723f612d3 Fixes to quotedb example configuration. diff -r 0e50c8440ea2 -r 57443894bd8e config.quotedb.example --- a/config.quotedb.example Tue Oct 22 17:45:22 2019 +0300 +++ b/config.quotedb.example Tue Oct 29 15:18:47 2019 +0200 @@ -89,15 +89,15 @@ # Bind !quote -command for table "quotedb" bind pub - !vitsi vitsi_pub_cmd bind msg - !vitsi vitsi_msg_cmd -proc vitsi_pub_cmd {unick uhost uhand uchan utext} { qdb_command "!vitsi" "quotedb" $unick $uhost $uhand $uchan $utext 1 "%2 (%1)"} -proc vitsi_msg_cmd {unick uhost uhand utext} { qdb_command "!vitsi" "quotedb" $unick $uhost $uhand "" $utext 0 "%2 (%1)"} +proc vitsi_pub_cmd {unick uhost uhand uchan utext} { qdb_command "!vitsi" "quotedb" $unick $uhost $uhand $uchan $utext 1 "%2 (#%1)" ""} +proc vitsi_msg_cmd {unick uhost uhand utext} { qdb_command "!vitsi" "quotedb" $unick $uhost $uhand "" $utext 0 "%2 (#%1)" ""} # Bind !quote -command for table "kissa" bind pub - !kissa kissa_pub_cmd bind msg - !kissa kissa_msg_cmd -proc kissa_pub_cmd {unick uhost uhand uchan utext} { qdb_command "!kissa" "kissadb" $unick $uhost $uhand $uchan $utext 1 "kissa %2 (%1)"} -proc kissa_msg_cmd {unick uhost uhand utext} { qdb_command "!kissa" "kissadb" $unick $uhost $uhand "" $utext 0 "kissa %2 (%1)"} +proc kissa_pub_cmd {unick uhost uhand uchan utext} { qdb_command "!kissa" "kissadb" $unick $uhost $uhand $uchan $utext 1 "kissa %2 (#%1)" ""} +proc kissa_msg_cmd {unick uhost uhand utext} { qdb_command "!kissa" "kissadb" $unick $uhost $uhand "" $utext 0 "kissa %2 (#%1)" ""} bind pub - !spede spede_pub_cmd @@ -112,5 +112,5 @@ bind pub - !tuksu tuksu_pub_cmd bind msg - !tuksu tuksu_msg_cmd -proc tuksu_pub_cmd {unick uhost uhand uchan utext} { qdb_command "!tuksu" "tuksudb" $unick $uhost $uhand $uchan $utext 1 ""} -proc tuksu_msg_cmd {unick uhost uhand utext} { qdb_command "!tuksu" "tuksudb" $unick $uhost $uhand "" $utext 0 ""} +proc tuksu_pub_cmd {unick uhost uhand uchan utext} { qdb_command "!tuksu" "tuksudb" $unick $uhost $uhand $uchan $utext 1 "" "https://tnsp.org/tuksu/img/"} +proc tuksu_msg_cmd {unick uhost uhand utext} { qdb_command "!tuksu" "tuksudb" $unick $uhost $uhand "" $utext 0 "" "https://tnsp.org/tuksu/img/"}