rename !cleartopic to !resettopic
The command resets the topic to the default as configured in uhub.conf. "clear" wrongly implies that the topic will be emptied. Also added a plugin description in plugins.conf.
This commit is contained in:
@@ -13,6 +13,15 @@
|
||||
#
|
||||
plugin /usr/lib/uhub/mod_auth_sqlite.so "file=/etc/uhub/users.db"
|
||||
|
||||
# Topic commands.
|
||||
# Note: "topic" == "hub description" (as configured in uhub.conf)
|
||||
#
|
||||
# !topic - change the topic (op required)
|
||||
# !showtopic - show the topic
|
||||
# !resettopic - reset the topic to the default (op required)
|
||||
#
|
||||
# This plugins takes no parameters.
|
||||
#plugin /usr/lib/uhub/mod_topic.so
|
||||
|
||||
# Log file writer
|
||||
#
|
||||
@@ -22,7 +31,8 @@ plugin /usr/lib/uhub/mod_auth_sqlite.so "file=/etc/uhub/users.db"
|
||||
plugin /usr/lib/uhub/mod_logging.so "file=/var/log/uhub.log"
|
||||
|
||||
# A simple example plugin
|
||||
# plugin /usr/lib/uhub/mod_example.so
|
||||
#plugin /usr/lib/uhub/mod_example.so
|
||||
|
||||
# A plugin sending a welcome message.
|
||||
#
|
||||
# This plugin provides the following commands:
|
||||
|
||||
Reference in New Issue
Block a user